-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 1.61 KB
/
package.json
File metadata and controls
57 lines (57 loc) · 1.61 KB
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
{
"name": "ts-package-boilerplate",
"version": "2.2.1",
"description": "A minimist boilerplate for Typescript packages.",
"homepage": "https://github.com/poyea/ts-package-boilerplate#readme",
"author": "John Law <poyea@pm.me> (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",
"start": "nodemon --watch 'src/**/*.ts' --exec tsx src/index.ts",
"build": "tsc",
"version": "npm run lint && git add -A src && git push && git push --tags",
"test": "mocha --require tsx/cjs test/**/*.test.ts",
"test-cov": "c8 --reporter=text npm run test",
"test-cov:html": "c8 --reporter=text --reporter=html npm run test",
"lint": "eslint . --ext .ts",
"fmt": "eslint . --fix --ext .ts"
},
"devDependencies": {
"@types/chai": "latest",
"@types/mocha": "latest",
"@types/node": "latest",
"@typescript-eslint/eslint-plugin": "latest",
"@typescript-eslint/parser": "latest",
"chai": "latest",
"eslint": "latest",
"eslint-plugin-import": "latest",
"eslint-plugin-promise": "latest",
"c8": "latest",
"husky": "latest",
"mocha": "latest",
"nodemon": "latest",
"tsx": "latest",
"typescript": "latest"
},
"directories": {
"example": "examples",
"test": "test"
},
"keywords": [
"package",
"ts",
"typescript"
]
}