forked from color-js/color.js
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
113 lines (113 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
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "colorjs.io",
"version": "0.4.5",
"description": "Let’s get serious about color",
"files": [
"dist/",
"src/",
"types/src/",
"types/index.d.ts",
"types/index.d.cts"
],
"exports": {
".": {
"import": {
"types": "./types/index.d.ts",
"default": "./dist/color.js"
},
"require": {
"types": "./types/index.d.cts",
"default": "./dist/color.cjs"
}
},
"./fn": {
"import": {
"types": "./types/src/index-fn.d.ts",
"default": "./src/index-fn.js"
},
"require": {
"types": "./types/src/index-fn.d.cts",
"default": "./dist/color-fn.cjs"
}
},
"./dist/*": "./dist/*"
},
"typesVersions": {
"*": {
"fn": [
"./types/src/index-fn.d.ts"
]
}
},
"type": "module",
"main": "./dist/color.cjs",
"module": "./dist/color.js",
"types": "./types",
"directories": {
"test": "tests"
},
"scripts": {
"test": "npx htest ./test",
"dtslint": "dtslint --expectOnly types",
"eslint": "eslint . --ext .js --ext .ts --ext .cjs",
"lint": "run-s build:space-accessors \"eslint -- --fix\" dtslint",
"lint:ci": "run-s build:space-accessors \"eslint -- --max-warnings 0\" dtslint",
"build:css": "npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs",
"build:html": "npx @11ty/eleventy --config=.eleventy.cjs",
"build:js": "rollup -c",
"build:js:legacy": "rollup -c rollup.legacy.config.js",
"build:space-accessors": "node ./scripts/generate-space-accessor-types.js",
"build": "run-s build:html build:css build:js build:js:legacy build:space-accessors",
"watch:css": "npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs --watch",
"watch:html": "npx @11ty/eleventy --config=.eleventy.cjs --watch",
"watch:js": "rollup -c --watch",
"watch": "run-p watch:*",
"prepack": "npm run build",
"release": "release-it"
},
"repository": {
"type": "git",
"url": "git+https://github.com/LeaVerou/color.js.git"
},
"keywords": [
"color"
],
"contributors": [
"Lea Verou",
"Chris Lilley"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/LeaVerou/color.js/issues"
},
"homepage": "https://colorjs.io",
"devDependencies": {
"@11ty/eleventy": "^2.0",
"@babel/core": "^7.23.9",
"@babel/preset-env": "^7.23.9",
"@definitelytyped/dtslint": "0.0.182",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@stylistic/eslint-plugin": "latest",
"@typescript-eslint/eslint-plugin": "latest",
"@typescript-eslint/parser": "latest",
"acorn": "latest",
"core-js": "^3.36.0",
"eslint": "latest",
"htest.dev": "^0.0.9",
"mathjs": "^12.4.0",
"npm-run-all": "^4.1.5",
"postcss": "latest",
"postcss-cli": "latest",
"postcss-nesting": "latest",
"release-it": "^17.1.1",
"rollup": "^4.12.0",
"typescript": "^5.3.3"
},
"sideEffects": [
"./src/index.js",
"./src/spaces/index.js"
]
}