Skip to content

Commit

Permalink
Update: Moved to eslint preset
Browse files Browse the repository at this point in the history
  • Loading branch information
unlight committed Mar 9, 2018
1 parent ed2f2a5 commit 021b484
Showing 1 changed file with 23 additions and 11 deletions.
34 changes: 23 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"eslint:fix": "eslint src --ext \"ts\" --fix",
"eslint:w": "chokidar \"src/**/*.ts\" --initial -c \"npm run eslint\"",
"lint:w": "concurrently -- \"npm run tsclint:w\" \"npm run eslint:w\"",
"semantic-release": "semantic-release",
"semantic-release": "node -r ts-node/register node_modules/semantic-release/bin/semantic-release.js",
"prepublishOnly": "npm run build",
"build": "tsc",
"prebuild": "npm run clean",
Expand All @@ -36,18 +36,19 @@
"@semantic-release/git": "^3.0.1",
"@semantic-release/npm": "^3.0.2",
"@types/mocha": "^2.2.48",
"@types/node": "^9.4.6",
"@types/node": "^9.4.7",
"chokidar-cli": "^1.2.0",
"concurrently": "^3.5.1",
"cz-conventional-changelog": "^2.1.0",
"conventional-changelog-eslint": "^1.0.5",
"cz-adapter-eslint": "github:stormwarning/cz-adapter-eslint",
"eslint": "^4.18.2",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-tslint": "^2.1.0",
"eslint-plugin-typescript": "^0.9.0",
"eslint-plugin-unicorn": "^4.0.2",
"mocha": "^5.0.1",
"mocha": "^5.0.4",
"rimraf": "^2.6.2",
"semantic-release": "^12.4.1",
"semantic-release": "^15.0.2",
"ts-node": "^5.0.1",
"tslint": "^5.9.1",
"typescript": "^2.7.2",
Expand All @@ -66,26 +67,37 @@
},
"keywords": [],
"release": {
"generateNotes": {
"preset": "eslint"
},
"analyzeCommits": {
"preset": "eslint"
},
"verifyConditions": [
"@semantic-release/changelog",
"@semantic-release/github",
"@semantic-release/npm",
"@semantic-release/git"
],
"prepare": [
{
"path": "@semantic-release/changelog",
"changelogFile": "CHANGELOG.md"
},
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git"
],
"publish": [
"@semantic-release/npm"
"@semantic-release/npm",
"@semantic-release/github"
],
"success": [
"@semantic-release/github"
],
"fail": [
"@semantic-release/github"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
"path": "./node_modules/cz-adapter-eslint"
}
}
}

0 comments on commit 021b484

Please sign in to comment.