Skip to content

Commit c8217cb

Browse files
committed
chore(build): publish rules more convenient
1 parent f3a6337 commit c8217cb

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ Below you can find a recommended configuration which is based on the [Angular 2
3737
"attribute-parameter-decorator": true,
3838
"input-property-directive": true,
3939
"output-property-directive": true,
40-
"call-forward-ref":true,
41-
"life-cycle-hook":true,
42-
"pipe-transform-interface":true,
40+
"call-forward-ref" :true,
41+
"life-cycle-hook": true,
42+
"pipe-transform-interface": true,
4343
"pipe-naming": [true, "kebab-case","sg"]
4444
}
4545
```

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "A set of linters for Angular 2 applications, following https://github.com/mgechev/angular2-style-guide.",
55
"main": "index.js",
66
"scripts": {
7-
"prepublish": "tsc && npm t",
7+
"release": "rimraf dist && tsc && npm t && cp package.json dist/src",
88
"test": "mocha --compilers ts:ts-node/register",
99
"tsc": "tsc",
1010
"tscw": "tsc -w"
@@ -24,7 +24,7 @@
2424
],
2525
"author": {
2626
"name": "Minko Gechev",
27-
"email": "[email protected]"
27+
"email": "[email protected]"
2828
},
2929
"license": "MIT",
3030
"bugs": {
@@ -35,8 +35,9 @@
3535
"chai": "^3.5.0",
3636
"chai-spies": "^0.7.1",
3737
"mocha": "^2.4.5",
38+
"rimraf": "^2.5.2",
3839
"ts-node": "^0.5.5",
39-
"typings": "^0.6.8"
40+
"typings": "^0.8.1"
4041
},
4142
"dependencies": {
4243
"sprintf-js": "^1.0.3"

tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"compilerOptions": {
3+
"experimentalDecorators": true,
34
"target": "es5",
45
"module": "commonjs",
56
"declaration": false,

0 commit comments

Comments
 (0)