napi-rs/examples/napi/package.json

36 lines
699 B
JSON

{
"name": "@examples/napi",
"private": true,
"version": "0.0.0",
"main": "./index.node",
"types": "./index.d.ts",
"scripts": {
"build": "napi-raw build --no-js",
"test": "ava"
},
"devDependencies": {
"@napi-rs/cli": "workspace:*",
"@types/lodash": "^4.14.192",
"ava": "^5.2.0",
"lodash": "^4.17.21",
"sinon": "^15.0.3"
},
"ava": {
"extensions": [
"ts",
"tsx",
"js"
],
"require": [
"ts-node/register/transpile-only"
],
"files": [
"__tests__/**/*.spec.ts",
"__tests__/**/*.spec.js"
],
"environmentVariables": {
"TS_NODE_PROJECT": "../tsconfig.json"
},
"timeout": "10m"
}
}