-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 2.48 KB
/
package.json
File metadata and controls
58 lines (58 loc) · 2.48 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
58
{
"name": "package-skeleton",
"version": "1.0.0",
"description": "{{package.description}}",
"main": "dist/index.js",
"scripts": {
"analyze:deps:circular": "node_modules/.bin/madge --extensions js,ts --circular --ts-config ./tsconfig.json src/**",
"analyze:deps:list": "node_modules/.bin/madge --extensions js,ts --ts-config ./tsconfig.json src/**",
"analyze:deps:graph": "node_modules/.bin/madge --extensions js,ts --image graph.svg --layout dot --ts-config ./tsconfig.json src/**",
"test": "./node_modules/.bin/jest tests --verbose",
"test:coverage": "./node_modules/.bin/jest tests --coverage",
"fmt": "./node_modules/.bin/prettier --config .prettierrc --write 'src/**/*.{js,ts,json,yml,yaml}' 'tests/**/*.{js,ts,json,yml,yaml}' './*.{js,yml,yaml}'",
"lint": "./node_modules/.bin/eslint --ext ts,js src/",
"lint:fix": "./node_modules/.bin/eslint --ext ts,js --fix src/",
"lint:staged": "./node_modules/.bin/lint-staged",
"fix": "npm run fmt && npm run lint:fix",
"build:dev": "./node_modules/.bin/esbuild --platform=node --target=node16 --define:__APP_VERSION__=\"'1.0'\" --format=cjs --bundle --outdir=dist src/index.ts",
"build:prod": "node ./scripts/build.js --production",
"dev": "npm run build:dev && node dist/index.js",
"prepare": "husky install"
},
"author": "{{package.author.name}} <{{package.author.email}}>",
"license": "MIT",
"lint-staged": {
"*.{js,ts}": [
"./node_modules/.bin/prettier --config .prettierrc --write",
"./node_modules/.bin/eslint --ext ts,js --fix"
],
"*.json": [
"./node_modules/.bin/prettier --config .prettierrc --write"
],
"*.{yaml,yml}": [
"./node_modules/.bin/prettier --config .prettierrc --tab-width 2 --write"
]
},
"devDependencies": {
"@types/jest": "^27.4.0",
"@types/node": "^18.11.9",
"@typescript-eslint/eslint-plugin": "^5.11.0",
"@typescript-eslint/parser": "^5.11.0",
"esbuild": "^0.14.21",
"eslint": "^8.9.0",
"husky": "^7.0.4",
"jest": "^27.5.1",
"lint-staged": "^12.3.3",
"madge": "^5.0.1",
"prettier": "^2.5.1",
"ts-jest": "^27.1.3",
"typescript": "^4.5"
},
"dependencies": {
"chalk": "^4.1.2",
"commander": "^9.0.0",
"conf": "^10.1.1",
"js-yaml": "^4.1.0",
"prompts": "^2.4.2"
}
}