napi-rs/package.json
dependabot-preview[bot] bfe43c9174
build(deps-dev): bump lint-staged from 10.2.9 to 10.2.10
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.9 to 10.2.10.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.2.9...v10.2.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 08:05:28 +00:00

62 lines
1.7 KiB
JSON

{
"name": "napi-rs",
"version": "0.2.4",
"description": "A minimal library for building compiled Node add-ons in Rust.",
"bin": {
"napi": "scripts/napi.js"
},
"repository": {
"type": "git",
"url": "git@github.com:Brooooooklyn/napi-rs.git"
},
"maintainers": [
{
"name": "LongYinan",
"email": "lynweklm@gmail.com",
"homepage": "https://github.com/Brooooooklyn"
}
],
"license": "MIT",
"scripts": {
"format": "run-p format:md format:json format:yaml format:source format:rs",
"format:md": "prettier --parser markdown --write './**/*.md'",
"format:json": "prettier --parser json --write './**/*.json'",
"format:rs": "cargo fmt",
"format:source": "prettier --config ./package.json --write './**/*.js'",
"format:yaml": "prettier --parser yaml --write './**/*.{yml,yaml}'"
},
"bugs": {
"url": "https://github.com/Brooooooklyn/napi-rs/issues"
},
"homepage": "https://github.com/Brooooooklyn/napi-rs#readme",
"dependencies": {
"minimist": "^1.2.5",
"toml": "^3.0.0"
},
"prettier": {
"printWidth": 80,
"semi": false,
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "always"
},
"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"
}
},
"devDependencies": {
"@types/node": "^14.0.13",
"husky": "^4.2.5",
"lint-staged": "^10.2.10",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5"
}
}