-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
58 lines (58 loc) · 1.63 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
{
"name": "@bx-design/validate-rut",
"version": "0.1.1",
"repository": "git@github.com:bx-design/validate-rut.git",
"author": "BX Creative Studio",
"license": "MIT",
"main": "./dist/index.js",
"module": "./esm/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist/**",
"esm/**"
],
"scripts": {
"build": "yarn build:esm && yarn build:cjs",
"build:cjs": "rimraf ./dist && ncc build src/index.ts -o dist -m -e react",
"build:esm": "rimraf ./esm && tsc --module ES6 --outDir esm",
"watch": "tsc --watch",
"watch:esm": "tsc --module ES6 --outDir esm --target esnext --watch",
"types:check": "tsc --noEmit",
"format": "prettier --check --debug-check ./src",
"format:fix": "prettier --write ./src",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage"
},
"husky": {
"hooks": {
"pre-commit": "yarn types:check && lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"yarn lint:fix",
"yarn format:fix"
]
},
"devDependencies": {
"@types/jest": "^26.0.22",
"@typescript-eslint/eslint-plugin": "^4.21.0",
"@typescript-eslint/parser": "^4.21.0",
"@vercel/ncc": "^0.28.0",
"eslint": "^7.23.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-promise": "^4.3.1",
"husky": "^6.0.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"ts-jest": "^26.5.4",
"typescript": "^4.2.3"
}
}