-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
79 lines (79 loc) · 2.18 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
{
"name": "@jiaminghi/color",
"version": "1.1.3",
"author": "JiaMing <[email protected]>",
"description": "Color extension",
"main": "cjs/index.js",
"unpkg": "umd/color.umd.js",
"module": "es/index.mjs",
"types": "es/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DataV-Team/Color.git"
},
"scripts": {
"prepare": "husky install",
"dev": "ts-node scripts/dev/init.ts && vite --config scripts/dev/vite.config.ts",
"clear": "rm es cjs umd -rf",
"build": "yarn clear && yarn build:es && yarn build:umd",
"build:es": "vite build --config scripts/build/vite.config.ts",
"build:umd": "vite build --config scripts/build/vite.config.umd.ts",
"check": "yarn lint && yarn lint:type && yarn lint:format && yarn test",
"lint": "eslint --ext js,ts src test",
"lint:type": "tsc --project ./tsconfig.json --noEmit",
"lint:format": "prettier --check \"src/**/*.ts\"",
"format": "prettier --write \"src/**/*.ts\"",
"test": "mocha",
"version:test": "ts-node scripts/release/version-generator --type=test"
},
"files": [
"es",
"cjs",
"umd"
],
"husky": {
"hooks": {
"pre-commit": "yarn run check",
"pre-push": "yarn run check"
}
},
"license": "MIT",
"bugs": {
"url": "https://github.com/DataV-Team/Color/issues"
},
"keywords": [
"color",
"hex",
"rgb",
"rgba",
"darken",
"lighten"
],
"homepage": "https://github.com/DataV-Team/Color#readme",
"devDependencies": {
"@types/chai": "^4.2.11",
"@types/mocha": "^7.0.2",
"@types/node": "^18.7.18",
"@types/prettier": "^2.7.2",
"@types/semver": "^7.3.13",
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
"@vitejs/plugin-react": "^3.0.0",
"chai": "^4.2.0",
"eslint": "^8.23.0",
"eslint-plugin-import": "^2.26.0",
"fs-extra": "^11.1.0",
"husky": "^8.0.2",
"less": "^4.1.3",
"mocha": "^6.2.3",
"ora": "5.4.1",
"prettier": "^2.0.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"semver": "^7.3.8",
"ts-node": "^8.8.2",
"typescript": "^4.8.3",
"vite": "^4.0.0",
"vite-plugin-dts": "^1.7.1"
}
}