Skip to content

Commit e0da0ce

Browse files
committed
Add config for semantic-release and standard
1 parent 36e676a commit e0da0ce

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

package.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,30 @@
3939
"sourceMap": false,
4040
"instrument": false
4141
},
42+
"standard": {
43+
"ignore": [
44+
"distribution"
45+
],
46+
"env": [
47+
"mocha"
48+
]
49+
},
4250
"devDependencies": {
4351
"babel-cli": "^6.11.4",
4452
"babel-core": "^6.13.2",
4553
"babel-plugin-istanbul": "^2.0.0",
4654
"babel-plugin-transform-runtime": "^6.12.0",
4755
"babel-preset-es2015": "^6.13.2",
4856
"babel-register": "^6.11.6",
57+
"bithound": "^1.7.0",
4958
"codeclimate-test-reporter": "^0.3.3",
5059
"cross-env": "^2.0.0",
5160
"eslint": "^3.3.1",
5261
"mocha": "^3.0.2",
5362
"nyc": "^8.1.0",
63+
"semantic-release": "^4.3.5",
5464
"should": "^11.1.0",
55-
"semantic-release": "^4.3.5"
65+
"standard": "^8.0.0"
5666
},
5767
"dependencies": {
5868
"babel-runtime": "^6.11.6"
@@ -65,6 +75,8 @@
6575
"cover": "nyc --reporter html --reporter text -- npm -s test",
6676
"cover:report": "nyc npm test && nyc report --reporter=text-lcov > coverage.lcov",
6777
"prepublish": "npm run compile",
68-
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
78+
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
79+
"standard": "standard",
80+
"fix": "standard --fix"
6981
}
7082
}

0 commit comments

Comments
 (0)