-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 1.99 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
66
67
68
{
"name": "strong-type-middleware",
"version": "0.2.2",
"description": "",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"umd:main": "dist/umd/index.js",
"types": "dist/types/index.d.js",
"scripts": {
"postinstall": "husky install",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable",
"build": "npm run build:cjs && npm run build:esm && npm run build:umd && npm run build:types",
"build:cjs": "node src/currentRepo/cleanup cjs && tsc -p config/tsconfig.cjs.json",
"build:esm": "node src/currentRepo/cleanup esm && tsc -p config/tsconfig.esm.json",
"build:umd": "node src/currentRepo/cleanup umd && webpack --config config/webpack.config.js",
"build:types": "node src/currentRepo/cleanup types && tsc -p config/tsconfig.types.json",
"clean": "node src/currentRepo/cleanup",
"package": "npm run build && npm pack",
"test": "jest --no-cache --runInBand",
"test:cov": "jest --coverage --no-cache --runInBand"
},
"publishConfig": {
"access": "public"
},
"files": [
"dist"
],
"keywords": [
"example",
"typescript",
"npm",
"package",
"sample",
"boilerplate",
"starter",
"demo",
"cjs",
"esm",
"umd"
],
"author": "Victor Zhou <victor.develop@outlook.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git@github.com:victor-develop/tomchen-example-typescript-package.git"
},
"dependencies": {},
"devDependencies": {
"@commitlint/cli": "13.1.0",
"@commitlint/config-conventional": "13.1.0",
"@types/jest": "27.0.1",
"@typescript-eslint/eslint-plugin": "4.31.1",
"@typescript-eslint/parser": "4.31.1",
"eslint": "7.32.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "4.0.0",
"husky": "7.0.2",
"jest": "27.2.0",
"pinst": "2.1.6",
"prettier": "2.4.0",
"ts-jest": "27.0.5",
"ts-loader": "9.3.0",
"typescript": "4.4.3",
"webpack": "5.52.1",
"webpack-cli": "4.8.0"
}
}