File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
node_js :
3
+ - node
3
4
- 8
4
5
before_install :
5
6
- npm config set depth 0
6
- - npm install --global npm@latest
7
7
notifications :
8
8
email : false
9
9
sudo : false
@@ -12,4 +12,6 @@ script:
12
12
- npm run lint
13
13
- npm run build
14
14
after_success :
15
- - rm -fr ./dist && npm run build && semantic-release pre && npm publish && semantic-release post
15
+ - export NODE_ENV=production
16
+ - npm run build
17
+ - semantic-release
Original file line number Diff line number Diff line change 55
55
},
56
56
"scripts" : {
57
57
"add-assertions" : " babel-node ./src/bin/readme-assertions" ,
58
- "build" : " NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps" ,
58
+ "build" : " rm -fr ./dist && NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps" ,
59
59
"create-readme" : " gitdown ./.README/README.md --output-file ./README.md && npm run add-assertions" ,
60
60
"lint" : " eslint ./src ./test" ,
61
61
"test" : " mocha --recursive --compilers js:@babel/register"
You can’t perform that action at this time.
0 commit comments