Skip to content

Commit

Permalink
add *.metadata.json
Browse files Browse the repository at this point in the history
  • Loading branch information
darlin committed Dec 30, 2016
1 parent faf9d07 commit a93733e
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ upload.sh
!docs/**/*.js.map

docs/CNAME

*.metadata.json
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ config/
scripts/
server/
Makefile

!*.metadata.json
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ build:
npm run build

publish:
npm run ngc
tsc -d
npm publish --registry http://registry.npmjs.org
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "git",
"url": "https://github.com/doxiaodong/ng2-clip"
},
"version": "1.0.0-beta.0",
"version": "1.0.0-beta.1",
"license": "MIT",
"scripts": {
"tslint": "tslint",
Expand All @@ -15,14 +15,16 @@
"server:dev:hmr": "npm run server:dev -- --inline --hot",
"build": "npm run clean && webpack --config config/webpack.prod.js --progress --profile --bail",
"clean": "rm -rf docs",
"start": "npm run server:dev:hmr"
"start": "npm run server:dev:hmr",
"ngc": "ngc"
},
"dependencies": {
"clipboard": "^1.5.16"
},
"devDependencies": {
"@angular/common": "^2.4.1",
"@angular/compiler": "^2.4.1",
"@angular/compiler-cli": "^2.4.1",
"@angular/core": "^2.4.1",
"@angular/forms": "^2.4.1",
"@angular/platform-browser": "^2.4.1",
Expand All @@ -39,7 +41,7 @@
"raw-loader": "^0.5.1",
"rxjs": "^5.0.2",
"tslint": "^4.2.0",
"typescript": "^2.1.4",
"typescript": "2.0.10",
"typescript-formatter": "^4.0.1",
"webpack": "2.2.0-rc.3",
"webpack-dev-server": "2.2.0-rc.0",
Expand Down
4 changes: 4 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
"forkChecker": true,
"useWebpackText": true
},
"angularCompilerOptions": {
"strictMetadataEmit": true,
"skipTemplateCodegen": true
},
"compileOnSave": false,
"buildOnSave": false,
"atom": {
Expand Down

0 comments on commit a93733e

Please sign in to comment.