-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 1.99 KB
/
package.json
File metadata and controls
84 lines (84 loc) · 1.99 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "node-module-example-of-thsi",
"version": "1.0.2",
"description": "Example of node module",
"main": "./lib/esm/index.js",
"exports": {
".": {
"node": {
"module": "./lib/esm/index.js",
"require": "./lib/cjs/index.js",
"import": "./lib/esm/index.js"
},
"default": "./lib/esm/index.js"
}
},
"module": "./lib/esm/index.js",
"files": [
"lib/"
],
"scripts": {
"build": "npm run clean && npm run compile",
"clean": "rimraf lib",
"compile": "npm run compile:esm && npm run compile:commonjs",
"compile:esm": "tsc -p tsconfig.json",
"compile:commonjs": "tsc -p tsconfig-cjs.json",
"test": "jest",
"commit": "npx git-cz",
"prepublishOnly": "npm run build"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/EricThsi/Node-Module-Example.git"
},
"keywords": [
"Example",
"Node",
"Module",
"TypeScript",
"Jest",
"ESLint",
"Prettier"
],
"author": "EricThsi",
"license": "MIT",
"bugs": {
"url": "https://github.com/EricThsi/Node-Module-Example/issues"
},
"homepage": "https://github.com/EricThsi/Node-Module-Example#readme",
"dependencies": {
"typescript": "^4.0.3"
},
"devDependencies": {
"@types/jest": "^26.0.14",
"@types/node": "^14.11.8",
"@typescript-eslint/eslint-plugin": "^4.4.0",
"@typescript-eslint/parser": "^4.4.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-jest": "^24.1.0",
"husky": "^4.3.0",
"jest": "^26.5.2",
"lint-staged": "^10.4.0",
"prettier": "^2.1.2",
"rimraf": "^3.0.2",
"ts-jest": "^26.4.1",
"ts-node": "^9.0.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}