-
Notifications
You must be signed in to change notification settings - Fork 46
/
package.json
65 lines (65 loc) · 2.19 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"name": "typescript-template",
"version": "1.0.7",
"description": "A complete Node.js project template using TypeScript and following general best practices.",
"keywords": [
"typescript",
"template"
],
"author": {
"name": "Chris Wells",
"url": "https://chriswells.io"
},
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "https://github.com/chriswells0/node-typescript-template.git"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/"
],
"scripts": {
"build": "npm run clean && npm run lint && tsc",
"changelog": "conventional-changelog -p angular -u",
"changelog:update": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
"clean": "node -e \"var { rmdirSync, existsSync } = require('fs'), path = require('path'); ['./.nyc_output', './coverage', './dist'].forEach(fPath => {if (existsSync(path.join(__dirname, fPath))) rmdirSync(path.join(__dirname, fPath), { recursive: true })}); process.exit(0);\"",
"clean:all": "npm run clean && (rm -r ./node_modules || true)",
"cover": "nyc npm run test",
"cover:check": "nyc --check-coverage --reporter=lcov npm run test",
"lint": "eslint --ext .ts --fix src/**/*.ts test/**/*.ts",
"preversion": "npm run build && npm run cover:check",
"postversion": "git push && git push --tags",
"prepare": "npm run build",
"serve": "nodemon ./src/index.ts",
"test": "mocha",
"upgrade": "npx npm-check -u",
"version": "npm run build && npm run changelog:update"
},
"devDependencies": {
"@types/chai": "^4.3.5",
"@types/mocha": "^10.0.1",
"@types/node": "^20.4.1",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
"chai": "^4.3.7",
"conventional-changelog-cli": "^5.0.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.44.0",
"mocha": "^10.2.0",
"nodemon": "^3.0.1",
"nyc": "^15.1.0",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"sitka": "^1.1.1"
}
}