File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -7,5 +7,6 @@ package-lock.json
7
7
/lazy
8
8
/demo
9
9
/coverage
10
+ /es6
10
11
.idea /
11
12
.vscode /
Original file line number Diff line number Diff line change 19
19
"build:demo" : " cross-env NODE_ENV=production webpack --config webpack/production.babel.js" ,
20
20
"build:dist" : " cross-env NODE_ENV=production webpack --config webpack/dist.babel.js" ,
21
21
"build:standalone" : " cross-env NODE_ENV=production webpack --config webpack/standalone.babel.js && node scripts/standalone-es6.js" ,
22
+ "build:es6" : " rsync --exclude demo -r ./src/ ./es6/ && find ./es6/ -name '*.js' -exec grep -q 'import React' {} \\ ; -exec mv {} {}x \\ ;" ,
22
23
"preversion" : " npm run lint && npm run test" ,
23
24
"version" : " auto-changelog -p && npm run build:dist && npm run build:standalone && git add CHANGELOG.md dist" ,
24
25
"prepublishOnly" : " npm run build:lib && npm run build:lazy && npm run build:dist && node scripts/pre-publish.js && cp -r types/* ." ,
You can’t perform that action at this time.
0 commit comments