Skip to content

Commit

Permalink
fix(package): copy html file in postbuild, add start:clean to scripts…
Browse files Browse the repository at this point in the history
…, update dependencies
  • Loading branch information
Diabeu committed Aug 22, 2017
1 parent edaba57 commit 43757aa
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@
"registry": "https://registry.npmjs.org"
},
"scripts": {
"clean": "rimraf ./dist",
"clean": "rimraf ./dist ./node_modules",
"bundle": "rollup -c rollup.config.js",
"prebuild": "npm install",
"build": "./node_modules/.bin/ngc -p tsconfig.json",
"postbuild": "",
"postbuild": "npm run html",
"prepublish": "",
"start": "npm run build",
"start:clean": "npm run clean && npm start",
"html": "cd src && copyfiles **/*.html *.html *.scss **/*.scss ../dist",
"test": "./node_modules/karma/bin/karma start karma.conf.js"
},
Expand All @@ -32,7 +33,7 @@
"@ngx-core/common": "^1.1.2",
"@ngx-form/interface": "^0.6.0",
"@ngx-form/type": "^0.1.6",
"@types/angular": "^1.6.29",
"@types/angular": "^1.6.30",
"@types/lodash-es": "^4.14.6",
"lodash-es": "^4.17.4"
},
Expand All @@ -48,9 +49,9 @@
"@angular/material": "^2.0.0-beta.8",
"@angular/platform-browser": "^4.3.5",
"@angular/platform-browser-dynamic": "^4.3.5",
"@types/jasmine": "^2.5.53",
"@types/jasmine": "^2.5.54",
"@types/karma": "^0.13.36",
"@types/lodash": "^4.14.73",
"@types/lodash": "^4.14.74",
"@types/node": "^8.0.24",
"codelyzer": "^3.1.2",
"copyfiles": "^1.2.0",
Expand All @@ -67,7 +68,7 @@
"lodash": "^4.17.4",
"reflect-metadata": "^0.1.10",
"rimraf": "^2.6.1",
"rollup": "^0.47.6",
"rollup": "^0.48.2",
"rollup-plugin-angular": "^0.4.12",
"rollup-plugin-buble": "^0.15.0",
"rollup-plugin-commonjs": "^8.1.0",
Expand All @@ -78,7 +79,7 @@
"rxjs": "^5.4.3",
"tslint": "^5.6.0",
"typescript": "^2.4.2",
"uglify-es": "^3.0.27",
"uglify-es": "^3.0.28",
"zone.js": "^0.8.16"
},
"keywords": [
Expand All @@ -92,4 +93,4 @@
"bugs": {
"url": "https://github.com/ngx-form/element/issues"
}
}
}

0 comments on commit 43757aa

Please sign in to comment.