Skip to content

Commit b9a68f8

Browse files
authored
Merge pull request #7 from cuire/v5-git-install
2 parents 2c7bcb7 + 62fec7a commit b9a68f8

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.npmignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
node_modules
2+
*.log
3+
.nyc_output
4+
*.iml
5+
.idea
6+
.DS_Store
7+
compile
8+
js

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@
2323
"prepublishOnly": "yarn build && yarn docs",
2424
"lint": "eslint . --ignore-path .gitignore",
2525
"lint:fix": "eslint . --ignore-path .gitignore --fix",
26-
"prepare": "husky install",
27-
"pre-commit": "lint-staged"
26+
"prepare": "husky install && yarn build",
27+
"pre-commit": "lint-staged",
28+
"prepack": "yarn build"
2829
},
2930
"repository": {
3031
"type": "git",
@@ -83,4 +84,4 @@
8384
"yy-jsdoc-template": "^1.3.0",
8485
"yy-random": "^1.10.2"
8586
}
86-
}
87+
}

0 commit comments

Comments
 (0)