Skip to content

Commit

Permalink
Merge pull request #223 from videogular/fix/npm-build
Browse files Browse the repository at this point in the history
fix(build): Fix NPM build
  • Loading branch information
Elecash authored Sep 3, 2016
2 parents f65ef99 + 5206acf commit d79c805
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
8 changes: 7 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,10 @@ src
coverage
typings
typings.json
.couscous
.couscous
docs
*.md
*.yml
karma-test-shim.js
karma.conf.js
make.js
4 changes: 2 additions & 2 deletions make.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ var config = {
module: 'cjs'
},
map: {
typescript: './node_modules/typescript/lib/typescript.js',
'typescript': './node_modules/typescript/lib/typescript.js',
'@angular': './node_modules/@angular',
rxjs: './node_modules/rxjs'
'rxjs': './node_modules/rxjs'
},
paths: {
'*': '*.js'
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@
"prebuild": "npm run clean && mkdir dist",
"tsc": "tsc",
"build": "tsc",
"postbuild": "npm run test",
"postbuild": "node make.js && npm run test",
"prebuild:travis": "npm run typings install",
"build:travis": "tsc",
"postbuild:travis": "npm run test",
"postbuild:travis": "node make.js && npm run test",
"clean": "rm -rf dist",
"commit": "git-cz",
"coverage": "http-server -c-1 -o -s -p 9875 ./coverage",
Expand Down

0 comments on commit d79c805

Please sign in to comment.