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" : " shx mkdir -p 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" ,
12
12
"coverage" : " nyc npm test && nyc report --reporter=text-lcov" ,
13
13
"lint" : " eslint ." ,
14
14
"prepublish" : " shx rm -rf ./lib && npm run compile" ,
15
15
"preversion" : " npm run test" ,
16
16
"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" ,
18
18
"travis" : " npm run lint && npm run compile && npm run test"
19
19
},
20
20
"repository" : {
47
47
"canvas" : " ^1.6.7" ,
48
48
"common-tags" : " ^1.4.0" ,
49
49
"coveralls" : " ^3.0.0" ,
50
+ "cross-env" : " ^5.2.0" ,
50
51
"eslint" : " ^4.8.0" ,
51
52
"eslint-config-onelint" : " ^2.0.0" ,
52
53
"eslint-config-onelint-react" : " ^2.0.1" ,
You can’t perform that action at this time.
0 commit comments