2018-04-28 17:26:38 +09:00
|
|
|
{
|
|
|
|
"name": "napi-rs",
|
2020-04-27 01:11:29 +09:00
|
|
|
"version": "0.2.3",
|
2018-05-01 15:17:51 +09:00
|
|
|
"description": "A minimal library for building compiled Node add-ons in Rust.",
|
2018-04-28 17:26:38 +09:00
|
|
|
"bin": {
|
|
|
|
"napi": "scripts/napi.js"
|
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2018-05-01 15:17:51 +09:00
|
|
|
"url": "git@github.com:Brooooooklyn/napi-rs.git"
|
2018-04-28 17:26:38 +09:00
|
|
|
},
|
2018-05-01 15:17:51 +09:00
|
|
|
"maintainers": [
|
|
|
|
{
|
|
|
|
"name": "LongYinan",
|
|
|
|
"email": "lynweklm@gmail.com",
|
|
|
|
"homepage": "https://github.com/Brooooooklyn"
|
|
|
|
}
|
|
|
|
],
|
2018-04-28 17:26:38 +09:00
|
|
|
"license": "MIT",
|
2020-05-06 00:13:23 +09:00
|
|
|
"scripts": {
|
2020-05-12 14:59:20 +09:00
|
|
|
"format": "run-p format:md format:json format:yaml format:source format:rs",
|
2020-05-06 00:13:23 +09:00
|
|
|
"format:md": "prettier --parser markdown --write './**/*.md'",
|
|
|
|
"format:json": "prettier --parser json --write './**/*.json'",
|
2020-05-12 14:59:20 +09:00
|
|
|
"format:rs": "cargo fmt",
|
2020-05-06 00:13:23 +09:00
|
|
|
"format:source": "prettier --config ./package.json --write './**/*.js'",
|
|
|
|
"format:yaml": "prettier --parser yaml --write './**/*.{yml,yaml}'"
|
|
|
|
},
|
2018-04-28 17:26:38 +09:00
|
|
|
"bugs": {
|
2018-05-01 15:17:51 +09:00
|
|
|
"url": "https://github.com/Brooooooklyn/napi-rs/issues"
|
2018-04-28 17:26:38 +09:00
|
|
|
},
|
2018-05-01 15:17:51 +09:00
|
|
|
"homepage": "https://github.com/Brooooooklyn/napi-rs#readme",
|
2018-04-28 17:26:38 +09:00
|
|
|
"dependencies": {
|
2020-03-17 06:18:15 +09:00
|
|
|
"minimist": "^1.2.5",
|
2020-02-19 00:05:13 +09:00
|
|
|
"toml": "^3.0.0"
|
2018-04-28 17:26:38 +09:00
|
|
|
},
|
|
|
|
"prettier": {
|
|
|
|
"printWidth": 80,
|
|
|
|
"semi": false,
|
|
|
|
"singleQuote": true,
|
|
|
|
"trailingComma": "all",
|
2018-07-23 11:18:56 +09:00
|
|
|
"arrowParens": "always"
|
2018-05-01 15:17:51 +09:00
|
|
|
},
|
2020-05-06 00:13:23 +09:00
|
|
|
"files": ["scripts/napi.js", "LICENSE"],
|
|
|
|
"lint-staged": {
|
|
|
|
"*.js": ["prettier --write"],
|
|
|
|
"*.@(yml|yaml)": ["prettier --parser yaml --write"],
|
|
|
|
"*.json": ["prettier --parser json --write"],
|
|
|
|
"*.md": ["prettier --parser markdown --write"]
|
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged && cargo fmt --all"
|
|
|
|
}
|
|
|
|
},
|
2018-05-01 15:17:51 +09:00
|
|
|
"devDependencies": {
|
2020-06-01 17:06:21 +09:00
|
|
|
"@types/node": "^14.0.6",
|
2020-05-06 00:13:23 +09:00
|
|
|
"husky": "^4.2.5",
|
2020-05-29 16:38:47 +09:00
|
|
|
"lint-staged": "^10.2.7",
|
2020-05-06 00:13:23 +09:00
|
|
|
"npm-run-all": "^4.1.5",
|
2020-04-22 06:21:20 +09:00
|
|
|
"prettier": "^2.0.5"
|
2018-04-28 17:26:38 +09:00
|
|
|
}
|
|
|
|
}
|