|
| 1 | +{ |
| 2 | + "name": "node-package-starter", |
| 3 | + "version": "0.0.0-dev", |
| 4 | + "license": "MIT", |
| 5 | + "description": "", |
| 6 | + "main": "dist/index.js", |
| 7 | + "typings": "src/index.ts", |
| 8 | + "scripts": { |
| 9 | + "test": "npm run eslint && npm run tscheck && npm run test:cov", |
| 10 | + "_mocha": "node -r ts-node/register/transpile-only node_modules/mocha/bin/_mocha", |
| 11 | + "test:r": "mocha -r ts-node/register/transpile-only src/**/*.spec.ts", |
| 12 | + "test:w": "mocha -r ts-node/register/transpile-only --watch-extensions ts --watch src/**/*.spec.ts", |
| 13 | + "test:cov": "nyc mocha src/**/*.spec.ts", |
| 14 | + "test:d": "node --inspect-brk -r ts-node/register/transpile-only node_modules/mocha/bin/_mocha --no-timeouts --watch-extensions ts --watch src/**/*.spec.ts", |
| 15 | + "tscheck": "echo tscheck... && tsc --noEmit", |
| 16 | + "tscheck:w": "npm run tscheck -- --watch", |
| 17 | + "tsclint": "tsc --noEmit --pretty --strict --forceConsistentCasingInFileNames --noImplicitReturns --noImplicitThis --noUnusedLocals --noUnusedParameters", |
| 18 | + "tsclint:w": "npm run tsclint -- --watch", |
| 19 | + "eslint": "eslint src --ext ts", |
| 20 | + "eslint:fix": "eslint src --ext \"ts\" --fix", |
| 21 | + "eslint:w": "chokidar \"src/**/*.ts\" --initial -c \"npm run eslint\"", |
| 22 | + "lint:w": "run-p tsclint:w eslint:w", |
| 23 | + "prepublishOnly": "npm run build && sed -i -e 's/devDependencies/_devDependencies/g' package.json", |
| 24 | + "build": "tsc", |
| 25 | + "prebuild": "npm run clean", |
| 26 | + "clean": "rimraf dist", |
| 27 | + "commit": "git-cz" |
| 28 | + }, |
| 29 | + "dependencies": {}, |
| 30 | + "devDependencies": { |
| 31 | + "@semantic-release/changelog": "^3.0.0", |
| 32 | + "@semantic-release/git": "^7.0.3", |
| 33 | + "@semantic-release/npm": "^5.0.4", |
| 34 | + "@types/eslint": "^4.16.3", |
| 35 | + "@types/mocha": "^5.2.5", |
| 36 | + "@types/node": "^10.10.1", |
| 37 | + "chokidar-cli": "^1.2.1", |
| 38 | + "eslint": "^5.4.0", |
| 39 | + "eslint-plugin-import": "^2.14.0", |
| 40 | + "eslint-plugin-tslint2": "^2.2.4", |
| 41 | + "eslint-plugin-typescript": "^0.12.0", |
| 42 | + "eslint-plugin-unicorn": "^6.0.0", |
| 43 | + "mocha": "^5.2.0", |
| 44 | + "npm-run-all": "^4.1.3", |
| 45 | + "nyc": "^13.0.1", |
| 46 | + "rimraf": "^2.6.2", |
| 47 | + "semantic-release": "^15.9.12", |
| 48 | + "ts-node": "^7.0.1", |
| 49 | + "tslint": "^5.11.0", |
| 50 | + "tslint-clean-code": "^0.2.7", |
| 51 | + "tslint-microsoft-contrib": "^5.2.1", |
| 52 | + "tslint-sonarts": "^1.7.0", |
| 53 | + "typescript": "^3.0.1", |
| 54 | + "typescript-eslint-parser": "^18.0.0" |
| 55 | + }, |
| 56 | + "engines": { |
| 57 | + "node": ">=6", |
| 58 | + "npm": ">=3" |
| 59 | + }, |
| 60 | + "repository": { |
| 61 | + "type": "git", |
| 62 | + "url": "https://github.com/unlight/node-package-starter.git" |
| 63 | + }, |
| 64 | + "keywords": [], |
| 65 | + "nyc": { |
| 66 | + "include": [ |
| 67 | + "src/**/*.ts", |
| 68 | + "src/**/*.tsx" |
| 69 | + ], |
| 70 | + "exclude": [ |
| 71 | + "**/*.d.ts", |
| 72 | + "src/**/*.spec.ts" |
| 73 | + ], |
| 74 | + "extension": [ |
| 75 | + ".ts", |
| 76 | + ".tsx" |
| 77 | + ], |
| 78 | + "require": [ |
| 79 | + "ts-node/register/transpile-only" |
| 80 | + ], |
| 81 | + "reporter": [ |
| 82 | + "text" |
| 83 | + ], |
| 84 | + "sourceMap": true, |
| 85 | + "instrument": true |
| 86 | + }, |
| 87 | + "release": { |
| 88 | + "generateNotes": { |
| 89 | + "writerOpts": { |
| 90 | + "__keep": "me" |
| 91 | + } |
| 92 | + }, |
| 93 | + "verifyConditions": [ |
| 94 | + "@semantic-release/changelog", |
| 95 | + "@semantic-release/github", |
| 96 | + "@semantic-release/npm", |
| 97 | + "@semantic-release/git" |
| 98 | + ], |
| 99 | + "prepare": [ |
| 100 | + "@semantic-release/changelog", |
| 101 | + "@semantic-release/npm", |
| 102 | + "@semantic-release/git" |
| 103 | + ], |
| 104 | + "publish": [ |
| 105 | + "@semantic-release/npm", |
| 106 | + "@semantic-release/github" |
| 107 | + ], |
| 108 | + "success": [ |
| 109 | + "@semantic-release/github" |
| 110 | + ], |
| 111 | + "fail": [ |
| 112 | + "@semantic-release/github" |
| 113 | + ] |
| 114 | + }, |
| 115 | + "config": { |
| 116 | + "commitizen": { |
| 117 | + "path": "cz-conventional-changelog" |
| 118 | + } |
| 119 | + } |
| 120 | +} |
0 commit comments