-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
59 lines (59 loc) · 1.75 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
{
"name": "ts-package-boilerplate",
"version": "2.2.0",
"description": "A minimist boilerplate for Typescript packages.",
"homepage": "https://github.com/poyea/ts-package-boilerplate#readme",
"author": "John Law <[email protected]> (https://github.com/poyea/)",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"files": [
"dist/**/*"
],
"repository": {
"type": "git",
"url": "git+https://github.com/poyea/ts-package-boilerplate.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/poyea/ts-package-boilerplate/issues"
},
"scripts": {
"prepare": "husky install",
"start": "nodemon --watch 'src/**/*.ts' --exec ts-node src/index.ts",
"build": "tsc",
"version": "npm run lint && git add -A src && git push && git push --tags",
"test": "mocha -r ts-node/register test/**/*.test.ts",
"test-cov": "nyc --reporter=text npm run test",
"test-cov:html": "nyc --reporter=text --reporter=html npm run test",
"lint": "eslint . -c .eslintrc.json --ext .ts",
"fmt": "eslint . --fix -c .eslintrc.json --ext .ts"
},
"devDependencies": {
"@types/chai": "latest",
"@types/mocha": "latest",
"@types/node": "latest",
"@typescript-eslint/eslint-plugin": "^5.10.1",
"@typescript-eslint/parser": "^5.10.1",
"chai": "latest",
"eslint": "^7.32.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.2.0",
"husky": "^7.0.4",
"mocha": "latest",
"nodemon": "latest",
"nyc": "latest",
"ts-node": "latest",
"typescript": "^4.5.5"
},
"directories": {
"example": "examples",
"test": "test"
},
"keywords": [
"package",
"ts",
"typescript"
]
}