File tree Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Expand file tree Collapse file tree 2 files changed +3
-13
lines changed Original file line number Diff line number Diff line change 3
3
"version" : " 1.0.0" ,
4
4
"name" : " optimizely-sdk-packages" ,
5
5
"scripts" : {
6
- "postinstall" : " lerna bootstrap && lerna run build" ,
7
- "build" : " lerna run build" ,
6
+ "postinstall" : " lerna bootstrap" ,
8
7
"clean" : " lerna run clean" ,
9
- "publish" : " npm run build && lerna publish" ,
8
+ "publish" : " lerna publish" ,
10
9
"test" : " lerna run test --stream" ,
11
10
"test-travis" : " lerna run test-travis --stream"
12
11
},
Original file line number Diff line number Diff line change 7
7
"scripts" : {
8
8
"test" : " mocha ./lib/*.tests.js ./lib/**/*.tests.js ./lib/**/**/*tests.js --recursive" ,
9
9
"test-travis" : " npm run test && grunt" ,
10
- "build" : " npm run build-node && npm run build-browser" ,
11
- "build-node" : " npm run build-node-dev" ,
12
- "build-browser" : " npm run build-dev-cjs && npm run build-dev-umd && npm run build-prod-cjs && npm run build-prod-umd" ,
13
- "build-node-dev" : " webpack lib/index.node.js dist/optimizely.node.js --target=node --output-library-target=commonjs2" ,
14
- "build-node-prod" : " webpack -p lib/index.node.js dist/optimizely.node.min.js --target=node --output-library-target=commonjs2" ,
15
- "build-dev-cjs" : " webpack lib/index.browser.js dist/optimizely.browser.cjs.js --output-library-target=commonjs" ,
16
- "build-dev-umd" : " webpack lib/index.browser.js dist/optimizely.browser.umd.js --output-library=optimizelyClient --output-library-target=umd" ,
17
- "build-prod-cjs" : " webpack -p lib/index.browser.js dist/optimizely.browser.cjs.min.js --output-library-target=commonjs" ,
18
- "build-prod-umd" : " webpack -p lib/index.browser.js dist/optimizely.browser.umd.min.js --output-library=optimizelyClient --output-library-target=umd" ,
19
10
"lint" : " eslint lib/**" ,
20
11
"cover" : " istanbul cover _mocha ./lib/*.tests.js ./lib/**/*.tests.js ./lib/**/**/*tests.js" ,
21
12
"coveralls" : " npm run cover -- --report lcovonly && cat ./coverage/lcov.info | coveralls" ,
22
- "prepare" : " npm test && npm run build "
13
+ "prepare" : " npm test"
23
14
},
24
15
"repository" : {
25
16
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments