-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
101 lines (101 loc) · 2.92 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
{
"name": "create-puzzle",
"version": "3.0.2",
"description": "在浏览器端生成滑块验证码的拼图和背景图。",
"scripts": {
"start": "dumi dev",
"test": "jest",
"build": "rm -rf dist && npm run build:module && npm run build:umd && npm run build:types",
"build:module": "rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript",
"build:umd": "rollup --config rollup.umd.config.ts --configPlugin @rollup/plugin-typescript",
"build:types": "rm -rf types && tsc -p tsconfig.types.json",
"docs:build": "dumi build",
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
"lint:js": "eslint --ext .js,.jsx,.ts,.tsx src",
"lint-fix:js": "npm run lint:js -- --fix",
"prepublishOnly": "npm test && npm run build",
"tsc": "tsc --noEmit",
"prepare": "husky"
},
"files": [
"dist",
"types"
],
"main": "dist/createPuzzle.cjs.js",
"module": "dist/createPuzzle.esm.js",
"unpkg": "dist/createPuzzle.min.js",
"types": "types/index.d.ts",
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"*.{js,jsx,less,md,json}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
],
"**/*.{js,jsx,ts,tsx}": "eslint"
},
"repository": {
"type": "git",
"url": "git+https://github.com/caijf/create-puzzle.git"
},
"keywords": [
"puzzle",
"slider-captcha",
"slider",
"captcha",
"jigsaw"
],
"author": "caijf",
"license": "MIT",
"bugs": {
"url": "https://github.com/caijf/create-puzzle/issues"
},
"homepage": "https://github.com/caijf/create-puzzle#readme",
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@commitlint/cz-commitlint": "^19.2.0",
"@rollup/plugin-commonjs": "^25.0.8",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^14.3.1",
"@types/jest": "^29.5.12",
"@types/react": "^18.3.3",
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.15.0",
"@umijs/fabric": "^2.14.1",
"antd": "^5.19.1",
"antd-more": "^4.2.32",
"commitizen": "^4.3.0",
"dumi": "^1.1.54",
"element-remove": "^1.0.4",
"eslint": "^8.57.0",
"husky": "^9.0.11",
"inquirer": "^9.3.5",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.7",
"prettier": "^3.3.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rollup": "^4.18.0",
"ts-jest": "^29.1.5",
"tslib": "^2.6.3",
"typescript": "^5.5.3"
},
"dependencies": {
"ut2": "^1.10.0",
"util-helpers": "^5.0.4"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
}
}