-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
126 lines (126 loc) · 3.15 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "@mugtungshing/core",
"version": "0.7.0",
"description": "Tungshing generator for MUG players.",
"module": "./dist/index.js",
"exports": {
"require": "./dist/index.cjs.js",
"import": "./dist/index.js"
},
"types": "./dist/index.d.ts",
"repository": "https://github.com/mugtungshing/core.git",
"author": "mochaaP <[email protected]>",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"keywords": [
"mug",
"tungshing",
"random"
],
"devDependencies": {
"@commitlint/cli": "16.3.0",
"@commitlint/config-conventional": "16.2.4",
"@tsconfig/recommended": "1.0.3",
"@types/jest": "26.0.24",
"@types/seedrandom": "3.0.8",
"@types/uuid": "8.3.4",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"esbuild": "0.20.1",
"eslint": "7.32.0",
"eslint-config-standard-with-typescript": "20.0.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "5.2.0",
"eslint-plugin-tsdoc": "0.2.17",
"eslint-plugin-unicorn": "35.0.0",
"husky": "7.0.4",
"jest": "27.5.1",
"lint-staged": "11.2.6",
"prettier": "2.8.8",
"rimraf": "3.0.2",
"seedrandom": "3.0.5",
"standard-version": "9.5.0",
"ts-jest": "27.1.5",
"typedoc": "0.23.27",
"typescript": "4.9.5"
},
"dependencies": {
"dayjs": "^1.10.7",
"ow": "^0.28.0",
"random": "^3.0.6",
"uuid": "^8.3.2"
},
"eslintConfig": {
"extends": [
"standard-with-typescript",
"plugin:unicorn/recommended"
],
"plugins": [
"eslint-plugin-tsdoc"
],
"parserOptions": {
"project": "./tsconfig.eslint.json"
},
"rules": {
"tsdoc/syntax": "warn"
},
"ignorePatterns": [
"jest.config.js",
"dist/**/*.js",
"docs/**/"
]
},
"scripts": {
"start": "yarn build:watch",
"start:node": "yarn build:node --watch",
"build": "yarn clean && yarn build:esm && yarn build:node",
"build:watch": "yarn clean && yarn build:esm --watch & yarn build:node --watch",
"build:esm": "tsc",
"build:node": "esbuild --bundle src/index.ts --outfile=dist/index.cjs.js --platform=node --sourcemap",
"lint": "eslint ./src --fix",
"pretty": "prettier src/**/* --write",
"prerelease": "yarn test && yarn build",
"release": "standard-version",
"postrelease": "git push --follow-tags",
"pretest": "yarn lint",
"test": "jest --coverage",
"test:watch": "yarn run test --watch --notify",
"types:check": "tsc --noEmit",
"types:watch": "yarn types:check --watch",
"clean": "rimraf dist",
"docs": "typedoc"
},
"jest": {
"preset": "ts-jest"
},
"husky": {
"hooks": {
"pre-commit": [
"lint-staged"
],
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": true
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"yarn lint"
],
"*.{json,md,yml}": [
"prettier --write"
]
}
}