File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 88 " lib"
99 ],
1010 "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 && cross-env BABEL_ENV=CommonJS babel ./src --out-file ./lib/Truncate.CommonJS.js" ,
1212 "coverage" : " nyc npm test && nyc report --reporter=text-lcov" ,
1313 "lint" : " eslint ." ,
14- "prepublish" : " rm -rf ./lib && npm run compile" ,
14+ "prepublish" : " shx rm -rf ./lib && npm run compile" ,
1515 "preversion" : " npm run test" ,
1616 "report-coverage" : " npm run coverage | coveralls" ,
17- "test" : " BABEL_ENV=test mocha --require babel-polyfill --require babel-core/register" ,
17+ "test" : " cross-env BABEL_ENV=test mocha --require babel-polyfill --require babel-core/register" ,
1818 "travis" : " npm run lint && npm run compile && npm run test"
1919 },
2020 "repository" : {
4747 "canvas" : " ^1.6.7" ,
4848 "common-tags" : " ^1.4.0" ,
4949 "coveralls" : " ^3.0.0" ,
50+ "cross-env" : " ^5.2.0" ,
5051 "eslint" : " ^4.8.0" ,
5152 "eslint-config-onelint" : " ^2.0.0" ,
5253 "eslint-config-onelint-react" : " ^2.0.1" ,
5960 "react" : " ^16.0.0" ,
6061 "react-dom" : " ^16.0.0" ,
6162 "react-test-renderer" : " ^16.0.0" ,
63+ "shx" : " ^0.3.2" ,
6264 "sinon" : " ^4.0.1" ,
6365 "unexpected" : " ^10.36.0" ,
6466 "unexpected-dom" : " ^4.0.0" ,
You can’t perform that action at this time.
0 commit comments