-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
72 lines (72 loc) · 1.95 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
69
70
71
72
{
"name": "@fjedi/npm-package-template",
"version": "1.184.0",
"description": "NPM package template",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"files": [
"lib/"
],
"private": false,
"scripts": {
"test": "jest",
"test:watch": "jest --watchAll",
"build": "npm run clean && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json",
"clean": "rimraf lib",
"coverage": "jest --coverage",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"start": "tsc -w",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/fjedi/npm-package-template.git"
},
"keywords": [
"fjedi"
],
"author": "Alexander Radyushin <[email protected]> (https://fjedi.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/fjedi/npm-package-template/issues"
},
"homepage": "https://github.com/fjedi/npm-package-template#readme",
"dependencies": {},
"devDependencies": {
"@types/expect": "24.3.0",
"@types/jest": "26.0.24",
"@types/lodash": "4.14.178",
"@types/node": "14.18.0",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
"eslint": "7.32.0",
"eslint-config-airbnb-typescript": "12.3.1",
"eslint-config-prettier": "6.15.0",
"eslint-plugin-import": "2.25.3",
"eslint-plugin-prettier": "3.4.1",
"husky": "4.3.8",
"jest": "26.6.3",
"lint-staged": "10.5.4",
"prettier": "2.5.1",
"rimraf": "3.0.2",
"ts-jest": "26.5.6",
"typescript": "4.5.2"
},
"lint-staged": {
"*.(js|jsx|ts|tsx)": [
"npm run lint:fix",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}