-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
57 lines (57 loc) · 1.62 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
{
"name": "@yusuke4869/mahjong",
"description": "mahjong yaku judgment and score calculation",
"version": "0.1.1",
"license": "MIT",
"author": "Yusuke4869",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"src",
"!**/*.test.ts"
],
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"repository": {
"type": "git",
"url": "https://github.com/Yusuke4869/mahjong.git"
},
"scripts": {
"build": "rm -rf ./dist && tsc --project ./tsconfig.build.json",
"lint": "eslint --ignore-path .gitignore src/**/*.ts",
"lint:fix": "eslint --ignore-path .gitignore src/**/*.ts --fix",
"format": "prettier --write --ignore-path .gitignore **/*.ts",
"format:check": "prettier --check --ignore-path .gitignore **/*.ts",
"test": "jest --config ./jest.config.cjs",
"test:watch": "jest --watch --config ./jest.config.cjs",
"prepublishOnly": "yarn run lint && yarn run format && yarn run test && yarn run build",
"prepare": "husky install"
},
"lint-staged": {
"src/**/*.ts": [
"yarn lint:fix",
"yarn format"
]
},
"packageManager": "[email protected]",
"volta": {
"node": "20.18.3"
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.2.0",
"@types/jest": "^29.5.5",
"@types/node": "^20.6.2",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"eslint": "^8.49.0",
"husky": "^9.0.0",
"jest": "^29.7.0",
"lint-staged": "^15.0.0",
"prettier": "^3.0.3",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
}
}