-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
executable file
·108 lines (108 loc) · 4.14 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
{
"name": "@thednp/color-picker",
"version": "2.0.3",
"author": "thednp",
"license": "MIT",
"description": "🎨 Modern Color Picker Component",
"homepage": "https://thednp.github.io/color-picker",
"type": "module",
"source": "./src/ts/index.ts",
"main": "./dist/js/color-picker.js",
"module": "./dist/js/color-picker.mjs",
"style": "./dist/css/color-picker.css",
"sass": "./src/scss/color-picker.scss",
"sideEffects": false,
"exports": {
".": {
"require": "./dist/js/color-picker.cjs",
"import": "./dist/js/color-picker.mjs",
"types": "./dist/js/color-picker.d.ts"
},
"./color-picker.css": {
"import": "./dist/css/color-picker.css",
"require": "./dist/css/color-picker.css"
},
"./color-picker.rtl.css": {
"import": "./dist/css/color-picker.rtl.css",
"require": "./dist/css/color-picker.rtl.css"
},
"./color-picker.scss": {
"import": "./src/scss/color-picker.scss",
"require": "./src/scss/color-picker.scss"
},
"./color-picker.rtl.scss": {
"import": "./src/scss/color-picker.rtl.scss",
"require": "./src/scss/color-picker.rtl.scss"
}
},
"scripts": {
"pre-test": "pnpm clean-coverage",
"test": "pnpm pre-test && vitest --config vitest.config.mts",
"test-ui": "pnpm pre-test && vitest --config vitest.config-ui.mts --browser=chrome",
"badges": "npx -p dependency-version-badge update-badge typescript vitest vite",
"clean-coverage": "rm -rf coverage && rm -rf .nyc_output",
"prepublishOnly": "pnpm up && pnpm format && pnpm lint && pnpm build && pnpm compile && pnpm badges && pnpm copy",
"format": "deno fmt src/ts",
"lint": "pnpm lint:ts && pnpm check:ts && pnpm lint:css",
"fix:ts": "deno lint src/ts --fix",
"lint:ts": "deno lint src/ts",
"check:ts": "tsc --noEmit",
"fix:css": "stylelint --config .stylelintrc.json --fix scss \"src/scss/*.scss\"",
"lint:css": "stylelint --config .stylelintrc.json scss \"src/scss/*.scss\"",
"build": "vite build",
"dev": "vite --open ./docs/dev.html --port 8577",
"copy": "pnpm run --parallel /^copy-/",
"copy-js": "cp dist/js/color-picker.js docs/js/color-picker.js",
"copy-js-map": "cp dist/js/color-picker.js.map docs/js/color-picker.js.map",
"copy-css": "cp dist/css/color-picker.css docs/css/color-picker.css",
"copy-css-rtl": "cp dist/css/color-picker.rtl.css docs/css/color-picker.rtl.css",
"compile": "pnpm lint:css && pnpm run --parallel /^compile-/",
"compile-scss": "pnpm sass src/scss/color-picker.scss dist/css/color-picker.css --pkg-importer=node --style=expanded --load-path=src/scss",
"compile-scss-min": "pnpm sass src/scss/color-picker.scss dist/css/color-picker.min.css --pkg-importer=node --style=compressed --load-path=src/scss",
"compile-scss-rtl": "pnpm sass src/scss/color-picker.rtl.scss dist/css/color-picker.rtl.css --pkg-importer=node --style=expanded --load-path=src/scss",
"compile-scss-rtl-min": "pnpm sass src/scss/color-picker.rtl.scss dist/css/color-picker.rtl.min.css --pkg-importer=node --style=compressed --load-path=src/scss"
},
"bugs": {
"url": "https://github.com/thednp/color-picker/issues"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/thednp/color-picker.git"
},
"keywords": [
"color",
"picker",
"color-picker",
"colorpicker",
"palette",
"color-palette",
"typescript"
],
"dependencies": {
"@thednp/color": "^1.0.13",
"@thednp/shorty": "^2.0.9"
},
"devDependencies": {
"@types/node": "^22.9.3",
"@vitest/browser": "^2.1.5",
"@vitest/coverage-istanbul": "^2.1.5",
"@vitest/ui": "^2.1.5",
"playwright": "^1.49.0",
"sass": "^1.81.0",
"stylelint": "^16.10.0",
"stylelint-config-standard": "^36.0.1",
"stylelint-config-standard-scss": "^13.1.0",
"stylelint-order": "^6.0.4",
"stylelint-scss": "^6.10.0",
"typescript": "^5.7.2",
"vite": "^5.4.11",
"vite-plugin-dts": "^4.3.0",
"vite-plugin-strip-comments": "^0.0.3",
"vitest": "^2.1.5"
},
"packageManager": "[email protected]"
}