2021-09-23 01:29:09 +08:00
|
|
|
{
|
2023-04-06 11:04:53 +08:00
|
|
|
"name": "@examples/napi",
|
2021-09-23 01:29:09 +08:00
|
|
|
"private": true,
|
2021-12-14 00:37:46 +08:00
|
|
|
"version": "0.0.0",
|
2023-09-20 01:18:01 -07:00
|
|
|
"type": "module",
|
2023-11-02 12:57:11 +08:00
|
|
|
"main": "./index.js",
|
2021-10-01 14:41:52 +08:00
|
|
|
"types": "./index.d.ts",
|
2021-09-23 01:29:09 +08:00
|
|
|
"scripts": {
|
2024-01-08 21:02:46 +08:00
|
|
|
"browser": "vite",
|
2024-02-25 23:46:07 -08:00
|
|
|
"build": "napi-raw build --platform --js index.cjs --dts index.d.cts",
|
2023-11-02 12:57:11 +08:00
|
|
|
"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"
|
2021-12-14 00:37:46 +08:00
|
|
|
},
|
2024-02-25 23:46:07 -08:00
|
|
|
"napi": {
|
|
|
|
"binaryName": "example"
|
|
|
|
},
|
2023-04-06 11:04:53 +08:00
|
|
|
"devDependencies": {
|
|
|
|
"@napi-rs/cli": "workspace:*",
|
2024-02-25 23:46:07 -08:00
|
|
|
"@napi-rs/triples": "workspace:*",
|
2024-01-16 23:28:40 +08:00
|
|
|
"@napi-rs/wasm-runtime": "workspace:*",
|
2024-02-01 12:14:56 +08:00
|
|
|
"@types/lodash": "^4.14.202",
|
|
|
|
"@vitest/browser": "^1.2.2",
|
|
|
|
"@vitest/ui": "^1.2.2",
|
|
|
|
"ava": "^6.1.1",
|
2023-09-20 01:18:01 -07:00
|
|
|
"cross-env": "7.0.3",
|
2024-02-25 00:50:22 +08:00
|
|
|
"electron": "^29.0.1",
|
2023-01-19 00:32:52 +08:00
|
|
|
"lodash": "^4.17.21",
|
2024-01-08 21:02:46 +08:00
|
|
|
"sinon": "^17.0.1",
|
2024-02-01 12:14:56 +08:00
|
|
|
"vite": "^5.0.12",
|
2024-01-08 21:02:46 +08:00
|
|
|
"vite-plugin-node-polyfills": "^0.19.0",
|
2024-02-01 12:14:56 +08:00
|
|
|
"vitest": "^1.2.2",
|
|
|
|
"webdriverio": "^8.29.3"
|
2023-04-06 11:04:53 +08:00
|
|
|
},
|
|
|
|
"ava": {
|
2023-09-20 01:18:01 -07:00
|
|
|
"extensions": {
|
|
|
|
"ts": "module",
|
|
|
|
"cts": "commonjs",
|
|
|
|
"cjs": true
|
|
|
|
},
|
2023-04-06 11:04:53 +08:00
|
|
|
"files": [
|
2023-11-02 12:57:11 +08:00
|
|
|
"__tests__/**/*.spec.{ts,cts,js,cjs,mjs}"
|
2023-04-06 11:04:53 +08:00
|
|
|
],
|
2023-12-13 12:40:01 +08:00
|
|
|
"cache": false,
|
2023-04-15 18:58:53 +08:00
|
|
|
"timeout": "10m"
|
2023-11-02 12:57:11 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-02-25 23:46:07 -08:00
|
|
|
"@emnapi/core": "1.0.0"
|
2021-09-23 01:29:09 +08:00
|
|
|
}
|
|
|
|
}
|