47 lines
1.2 KiB
JSON
47 lines
1.2 KiB
JSON
{
|
|
"name": "@examples/napi",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"main": "./index.js",
|
|
"types": "./index.d.ts",
|
|
"scripts": {
|
|
"browser": "vite",
|
|
"build": "napi-raw build",
|
|
"test": "cross-env TS_NODE_PROJECT=./tsconfig.json node --es-module-specifier-resolution=node --loader ts-node/esm/transpile-only --experimental-wasi-unstable-preview1 ../../node_modules/ava/entrypoints/cli.mjs"
|
|
},
|
|
"devDependencies": {
|
|
"@napi-rs/cli": "workspace:*",
|
|
"@types/lodash": "^4.14.201",
|
|
"@vitest/browser": "^1.1.3",
|
|
"@vitest/ui": "^1.1.3",
|
|
"ava": "^6.0.0",
|
|
"cross-env": "7.0.3",
|
|
"electron": "^28.0.0",
|
|
"lodash": "^4.17.21",
|
|
"memfs-browser": "^4.6.0",
|
|
"sinon": "^17.0.1",
|
|
"vite": "^5.0.11",
|
|
"vite-plugin-node-polyfills": "^0.19.0",
|
|
"vitest": "^1.1.3",
|
|
"webdriverio": "^8.27.0"
|
|
},
|
|
"ava": {
|
|
"extensions": {
|
|
"ts": "module",
|
|
"cts": "commonjs",
|
|
"cjs": true
|
|
},
|
|
"files": [
|
|
"__tests__/**/*.spec.{ts,cts,js,cjs,mjs}"
|
|
],
|
|
"cache": false,
|
|
"timeout": "10m"
|
|
},
|
|
"dependencies": {
|
|
"@emnapi/core": "0.45.0",
|
|
"@types/lodash": "^4.14.202",
|
|
"lodash": "^4.17.21",
|
|
"sinon": "^17.0.1"
|
|
}
|
|
}
|