ng-alain-codelyzer
Version:
Linting for ng-alain
76 lines (75 loc) • 2.22 kB
JSON
{
"name": "ng-alain-codelyzer",
"version": "0.0.1",
"description": "Linting for ng-alain",
"main": "index.js",
"author": "cipchk",
"homepage": "https://ng-alain.com/docs/styleguide/",
"license": "MIT",
"scripts": {
"lint-staged": "lint-staged",
"format:base": "prettier --config ./.prettierrc \"src/**/*.ts\" \"test/**/*.ts\"",
"format:check": "npm run format:base -- --list-different",
"format:fix": "npm run format:base -- --write",
"lint": "tslint -p . -c tslint.json \"src/**/*.ts\" \"test/**/*.ts\"",
"lint:fix": "npm run lint -- --fix",
"test": "rimraf dist && tsc && rimraf dist/test/test.js && mocha dist/test --recursive",
"build": "rimraf dist && tsc && npm run format:check && npm run lint && npm t",
"copy": "ncp package.json dist/package.json && ncp README.md dist/README.md && rimraf dist/test",
"copy:debug": "ncp dist ../ng-alain-themes/node_modules/ng-alain-codelyzer",
"release": "rimraf dist && tsc -p tsconfig-release.json && npm run copy",
"release:debug": "rimraf dist && tsc -p tsconfig-release.json && npm run copy && npm run copy:debug",
"publish": "npm run release && cd dist && npm publish --access public",
"tsc": "tsc",
"watch": "tsc --w"
},
"keywords": [
"delon",
"ng-alain",
"ng-alain codelyzer",
"codelyzer",
"style guide",
"styleguide",
"lint",
"tslint"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ng-alain/codelyzer.git"
},
"bugs": {
"url": "https://github.com/ng-alain/codelyzer/issues"
},
"peerDependencies": {
},
"dependencies": {
},
"devDependencies": {
"@types/mocha": "^5.2.5",
"@types/node": "~8.9.4",
"@types/chai": "^4.1.7",
"@types/sprintf-js": "^1.1.1",
"chai": "^4.2.0",
"husky": "^1.3.1",
"lint-staged": "^8.1.0",
"mocha": "^5.2.0",
"prettier": "^1.16.0",
"rimraf": "^2.6.3",
"ncp": "^2.0.0",
"ts-node": "~7.0.0",
"tslint": "^5.12.1",
"typescript": "~3.2.2",
"jasmine": "^3.3.1"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint-staged"
}
},
"lint-staged": {
"*.ts": [
"npm run lint:fix",
"git add"
]
}
}