generated from nikkiselev/pkg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 1.78 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
{
"name": "@nikkiselev/ipf",
"version": "1.0.3",
"description": "Calculate relative scores in IPF powerlifting competitions.",
"keywords": [
"powerlifting",
"ipf",
"wilks",
"dots"
],
"main": "./dist/index.js",
"module": "./esm/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist/**",
"esm/**"
],
"author": "Nikolai Kiselev <nik@kiselev.dev> (https://github.com/nikkiselev)",
"repository": "nikkiselev/ipf",
"homepage": "https://github.com/nikkiselev/ipf",
"license": "MIT",
"scripts": {
"dev": "npm run watch",
"clean": "rimraf dist esm",
"prepare": "npm run clean && npm run build",
"build": "npm run build:esm && npm run build:cjs",
"build:cjs": "ncc build src/index.ts -o dist -m",
"build:esm": "tsc --target ESNext --module ES6 --outDir esm",
"watch": "tsc --watch",
"types:check": "tsc --noEmit",
"format": "prettier --write \"{src,test,examples}/**/*.{ts,tsx}\"",
"lint": "eslint \"{src,test,examples}/**/*.{ts,tsx}\"",
"lint:fix": "eslint \"{src,test,examples}/**/*.{ts,tsx}\" --fix",
"test": "jest --coverage"
},
"husky": {
"hooks": {
"pre-commit": "npm run types:check && lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"npm run lint:fix",
"npm run format",
"git add"
]
},
"devDependencies": {},
"dependencies": {
"@types/jest": "^26.0.20",
"@types/node": "^14.14.31",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"@vercel/ncc": "^0.27.0",
"eslint": "^7.20.0",
"eslint-config-prettier": "^6.15.0",
"husky": "^4.3.8",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"ts-jest": "^26.5.1",
"typescript": "^3.9.9"
}
}