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