napi-rs/examples/napi-compat-mode/package.json
forehal a781a4f27e feat(cli): brand new cli tool with both cli and programmatical usage (#1492)
BREAKING CHANGE: requires node >= 16 and some cli options have been renamed
2023-04-06 11:04:53 +08:00

31 lines
594 B
JSON

{
"name": "@examples/compat-mode",
"version": "1.0.0",
"private": true,
"scripts": {
"build": "napi-raw build --no-js --features latest",
"test": "ava"
},
"devDependencies": {
"@napi-rs/cli": "workspace:*",
"ava": "^5.2.0",
"sinon": "^15.0.1"
},
"ava": {
"extensions": [
"ts",
"tsx"
],
"require": [
"ts-node/register/transpile-only"
],
"files": [
"__tests__/**/*.spec.ts"
],
"environmentVariables": {
"TS_NODE_PROJECT": "../tsconfig.json"
},
"workerThreads": false,
"timeout": "5m"
}
}