File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 8
8
" lib"
9
9
],
10
10
"scripts" : {
11
- "compile" : " mkdir lib; babel ./src --out-file ./lib/Truncate.js && BABEL_ENV=CommonJS babel ./src --out-file ./lib/Truncate.CommonJS.js" ,
11
+ "compile" : " shx mkdir -p lib && babel ./src --out-file ./lib/Truncate.js && BABEL_ENV=CommonJS babel ./src --out-file ./lib/Truncate.CommonJS.js" ,
12
12
"coverage" : " nyc npm test && nyc report --reporter=text-lcov" ,
13
13
"lint" : " eslint ." ,
14
- "prepublish" : " rm -rf ./lib && npm run compile" ,
14
+ "prepublish" : " shx rm -rf ./lib && npm run compile" ,
15
15
"preversion" : " npm run test" ,
16
16
"report-coverage" : " npm run coverage | coveralls" ,
17
17
"test" : " BABEL_ENV=test mocha --require babel-polyfill --require babel-core/register" ,
59
59
"react" : " ^16.0.0" ,
60
60
"react-dom" : " ^16.0.0" ,
61
61
"react-test-renderer" : " ^16.0.0" ,
62
+ "shx" : " ^0.3.2" ,
62
63
"sinon" : " ^4.0.1" ,
63
64
"unexpected" : " ^10.36.0" ,
64
65
"unexpected-dom" : " ^4.0.0" ,
You can’t perform that action at this time.
0 commit comments