File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 11
11
"license" : " MIT" ,
12
12
"scripts" : {
13
13
"clean" : " rimraf dist && rimraf browser-dist && rimraf coverage && rimraf out" ,
14
- "build" : " npm run clean && babel lib --out-dir dist && npm run build:optimize" ,
14
+ "build" : " npm run clean && npm run vendor && babel lib --out-dir dist && npm run build:optimize" ,
15
15
"build:optimize" : " webpack -p && ccjs browser-dist/contentful.js --compilation_level=ADVANCED_OPTIMIZATIONS > browser-dist/contentful.min.js" ,
16
16
"docs:build" : " jsdoc -r -c jsdoc.json dist" ,
17
17
"docs:dev" : " npm run build && npm run docs:build" ,
24
24
"test:integration" : " babel-node ./test/integration/tests.js" ,
25
25
"test:browser-local" : " BABEL_ENV=test ./node_modules/.bin/karma start karma.conf.local.js" ,
26
26
"test:browser-remote" : " BABEL_ENV=test ./node_modules/.bin/karma start karma.conf.saucelabs.js" ,
27
+ "vendor" : " npm run vendor:node && npm run vendor:browser" ,
27
28
"vendor:node" : " rimraf vendor-node && mkdirp vendor-node && babel node_modules/axios/lib/ --out-dir vendor-node/" ,
28
29
"vendor:browser" : " rimraf vendor-browser && mkdirp vendor-browser && babel node_modules/axios/dist/axios.js --out-file vendor-browser/axios.js" ,
29
30
"browser-coverage" : " npm run test:cover && opener coverage/lcov-report/index.html" ,
You can’t perform that action at this time.
0 commit comments