Skip to content

Commit 38e4875

Browse files
committed
fix: Fix remove scripts from package.json
1 parent c514a0a commit 38e4875

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ notifications:
88
email: false
99

1010
node_js:
11-
- '8'
11+
- '10'
1212

1313
install:
14-
- npm install
14+
- npm ci
1515

1616
script:
1717
- npm run build

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
"clean-css": "cleancss --level 2 --source-map --format beautify -o dist/main.css dist/main.css",
1414
"clean-css-min": "cleancss --debug --source-map -o dist/main.min.css dist/main.css",
1515
"preversion": "npm run build",
16-
"version": "node tools/remove-scripts-to-publish.js && conventional-changelog -i CHANGELOG.md -s && git add .",
17-
"postversion": "npm publish --access public",
18-
"postpublish": "git push && git push --tags",
16+
"version": "conventional-changelog -i CHANGELOG.md -s && git add .",
17+
"postversion": "node tools/remove-scripts-to-publish.js && npm publish --access public && git push && git push --tags",
1918
"commit": "git-cz",
19+
"presemantic-release": "node tools/remove-scripts-to-publish.js",
2020
"semantic-release": "semantic-release",
2121
"precommit": "lint-staged",
2222
"commitmsg": "validate-commit-msg",

0 commit comments

Comments
 (0)