File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 27
27
"test" : " yarn run lint-allow-warning && mocha --compilers js:babel-register -u tdd test/index.js" ,
28
28
"prepublish" : " babel -d lib/ src/" ,
29
29
"lint" : " eslint --max-warnings 0 -c .eslintrc.json src/ test/" ,
30
- "lint-allow-warning" : " eslint -c .eslintrc.json src/ test/"
30
+ "lint-allow-warning" : " eslint -c .eslintrc.json src/ test/" ,
31
+ "echo-version" : " >&2 node -e \" process.stdout.write(require('./package.json').version)\" "
31
32
},
32
33
"keywords" : [
33
34
" graphql,schema"
Original file line number Diff line number Diff line change
1
+ deploy :
2
+ override :
3
+ - rm -rf node_modules
4
+ - yarn install
5
+ - yarn run test
6
+ - yarn run prepublish
7
+ - yarn publish --new-version $(yarn run echo-version 2>&1 >/dev/null)
You can’t perform that action at this time.
0 commit comments