-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
67 lines (67 loc) · 2.26 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
{
"name": "reinvented-color-wheel",
"version": "0.4.0",
"description": "A vanilla-js touch-friendly HSV color picker inspired by Farbtastic Color Picker.",
"repository": "luncheon/reinvented-color-wheel",
"main": "cjs/reinvented-color-wheel.js",
"module": "es/reinvented-color-wheel.js",
"types": "es/reinvented-color-wheel.d.ts",
"jsdelivr": "iife/reinvented-color-wheel.min.js",
"unpkg": "iife/reinvented-color-wheel.min.js",
"files": [
"css/",
"es/",
"cjs/",
"iife/",
"react/index.d.ts",
"react/index.js",
"webcomponents/index.d.ts",
"webcomponents/index.js"
],
"scripts": {
"clean": "rimraf css/*.min.css es/ cjs/ iife/ react/index.d.ts react/index.js react/sample.js webcomponents/index.js webcomponents/sample.js",
"build": "npm run clean && npm run build:css:min && npm run build:es && npm run build:react && npm run build:wc && npm run build:bundle && npm run copy",
"build:css:min": "cleancss css/reinvented-color-wheel.css -o css/reinvented-color-wheel.min.css",
"build:es": "tsc -p . --outDir es/",
"build:react": "tsc -p react && esbuild --bundle --tsconfig=react/tsconfig.json --target=esnext --define:process.env.NODE_ENV=\\'development\\' --outfile=react/sample.js react/sample.tsx",
"build:wc": "node webcomponents/build.js",
"build:bundle": "rollup -c",
"copy": "copyfiles -f iife/reinvented-color-wheel.min.js css/reinvented-color-wheel.min.css docs/",
"test": "jest",
"verify": "cd verify/ts2.1 && npm ci && npm t"
},
"keywords": [
"color",
"wheel",
"picker",
"color-picker",
"vanilla",
"vanilla-js",
"react",
"webcomponents"
],
"author": "",
"license": "WTFPL",
"devDependencies": {
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.4.0",
"@types/react": "^18.0.27",
"clean-css-cli": "^5.6.2",
"copyfiles": "^2.4.1",
"esbuild": "^0.17.5",
"esbuild-svelte": "^0.7.3",
"jest": "^29.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^4.1.2",
"rollup": "^3.14.0",
"rollup-plugin-filesize": "^9.1.2",
"terser": "^5.16.3",
"ts-jest": "^29.0.5",
"typescript": "^4.9.5"
},
"dependencies": {
"pure-color": "^1.3.0"
}
}