This commit is contained in:
LongYinan 2020-10-01 12:43:20 +08:00
parent 3a500dcbe2
commit 2338daf9e1
No known key found for this signature in database
GPG key ID: C3666B7FC82ADAD7

View file

@ -1,6 +1,6 @@
{ {
"name": "napi-rs", "name": "napi-rs",
"version": "0.3.8", "version": "0.3.9",
"description": "A minimal library for building compiled Node add-ons in Rust.", "description": "A minimal library for building compiled Node add-ons in Rust.",
"bin": { "bin": {
"napi": "scripts/index.js" "napi": "scripts/index.js"
@ -58,23 +58,12 @@
"trailingComma": "all", "trailingComma": "all",
"arrowParens": "always" "arrowParens": "always"
}, },
"files": [ "files": ["scripts", "LICENSE"],
"scripts",
"LICENSE"
],
"lint-staged": { "lint-staged": {
"*.js": [ "*.js": ["prettier --write"],
"prettier --write" "*.@(yml|yaml)": ["prettier --parser yaml --write"],
], "*.json": ["prettier --parser json --write"],
"*.@(yml|yaml)": [ "*.md": ["prettier --parser markdown --write"]
"prettier --parser yaml --write"
],
"*.json": [
"prettier --parser json --write"
],
"*.md": [
"prettier --parser markdown --write"
]
}, },
"husky": { "husky": {
"hooks": { "hooks": {