File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 9
9
"test" : " npm run lint; NODE_ENV=test node node_modules/.bin/mocha --compilers js:babel-register --recursive --require src/__tests__/index.js src/**/*.test.js" ,
10
10
"test:live" : " npm run lint; NODE_ENV=test node node_modules/.bin/mocha --compilers js:babel-register --recursive --require src/__tests__/index.js -w src/**/*.test.js" ,
11
11
"build" : " npm run clean; npm run test; node node_modules/.bin/babel src --out-dir lib" ,
12
- "bundle:dev" : " webpack --output-library=ngReduxUiRouter --output-library-target=umd lib/index.js dist/redux-ui-router.js" ,
13
- "bundle:prod" : " webpack -p --output-library=ngReduxUiRouter --output-library-target=umd lib/index.js dist/redux-ui-router.min.js" ,
12
+ "bundle:dev" : " webpack lib/index.js dist/redux-ui-router.js" ,
13
+ "bundle:prod" : " webpack -p lib/index.js dist/redux-ui-router.min.js" ,
14
14
"prepublish" : " npm run build && npm run bundle:dev && npm run bundle:prod"
15
15
},
16
16
"repository" : {
Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ output : {
3
+ library : 'ngReduxUiRouter' ,
4
+ libraryTarget : 'umd'
5
+ } ,
6
+ externals : [ 'angular' , 'angular-ui-router' ]
7
+ } ;
You can’t perform that action at this time.
0 commit comments