Skip to content

Commit 8ac8b8c

Browse files
committed
fix: long path after install, close #95
1 parent ffa62b1 commit 8ac8b8c

File tree

4 files changed

+2
-9892
lines changed

4 files changed

+2
-9892
lines changed

.npmignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
node_modules
22
src
3-
src/docs/package-lock.json
43
.gitignore
54
.github
65
.travis.yml

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,11 @@
1818
"node": ">=10"
1919
},
2020
"scripts": {
21-
"install": "npm install --prefix src/docs",
2221
"version": "conventional-changelog -i changelog.md -s -r 0 && git add changelog.md && git commit -m \"build: update changelog\"",
2322
"prepare": "npm run build",
2423
"build": "rimraf lib && rollup -c",
2524
"build:w": "rimraf lib && rollup -c -w",
26-
"docs": "npm run build --prefix src/docs",
25+
"docs": "npm install --prefix src/docs && npm run build --prefix src/docs",
2726
"coverage": "nyc report --reporter=text-lcov | coveralls",
2827
"test": "npm run build && nyc ava",
2928
"pretest": "clinton"

src/docs/.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

0 commit comments

Comments
 (0)