File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 15
15
"build-watch" : " npm run build -- --watch" ,
16
16
"clean" : " rm -rf dist/ build/" ,
17
17
"compile" : " mkdir -p dist && node_modules/google-closure-compiler/cli.js -O ADVANCED --js='compile/index.js' --js='build/**.js' --js='!build/**/test-*.js' --js='!build/src/testing/**' --externs='compile/externs.js' --rewrite_polyfills=false > build/closure-output.js" ,
18
- "create-mjs" : " cp build/closure-output.js dist/animations.mjs && sed -i 's;window.\\ ([^=]*=\\ );export const \\ 1;g' dist/animations.mjs" ,
19
- "create-cjs" : " cp build/closure-output.js dist/animations.js && sed -i 's;window.\\ ([^=]*=\\ );exports.\\ 1;g' dist/animations.js" ,
18
+ "create-mjs" : " cp build/closure-output.js dist/animations.mjs && sed -i '' ' s;window.\\ ([^=]*=\\ );export const \\ 1;g' dist/animations.mjs" ,
19
+ "create-cjs" : " cp build/closure-output.js dist/animations.js && sed -i '' ' s;window.\\ ([^=]*=\\ );exports.\\ 1;g' dist/animations.js" ,
20
20
"create-global" : " npm run tsickle && npm run compile" ,
21
21
"demo" : " npm run build && http-server | grep -m 1 'http:\\ .*' | xargs -I{} opener {}/docs/demo" ,
22
22
"dist" : " npm run clean && npm run create-global && npm run create-mjs && npm run create-cjs && npm run build" ,
You can’t perform that action at this time.
0 commit comments