forked from color-js/color.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
100 lines (100 loc) · 2.54 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
{
"name": "colorjs.io",
"version": "0.4.3",
"description": "Let’s get serious about color",
"files": [
"dist/color.cjs",
"dist/color.cjs.map",
"dist/color.js",
"dist/color.js.map",
"dist/color.legacy.cjs",
"dist/color.legacy.cjs.map",
"dist/color.legacy.js",
"dist/color.legacy.js.map",
"src/",
"types/dist/",
"types/src/",
"types/index.d.ts"
],
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./dist/color.js",
"require": "./dist/color.cjs"
},
"./fn": {
"types": "./types/src/index-fn.d.ts",
"import": "./src/index-fn.js"
},
"./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": "open tests/",
"dtslint": "dtslint types",
"lint": "eslint . --fix --ext .js --ext .ts --ext .js --ext .cjs",
"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": "npm run build:html && npm run build:css && npm run build:js && npm run build:js:legacy",
"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": "npm run watch:css & npm run watch:html & npm run watch:js",
"prepack": "npm run build"
},
"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": "^1.0",
"@babel/core": "^7.19.3",
"@babel/preset-env": "^7.19.3",
"@definitelytyped/dtslint": "latest",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-node-resolve": "^14.1.0",
"@typescript-eslint/parser": "^5.40.0",
"acorn": "latest",
"core-js": "^3.25.3",
"eslint": "latest",
"markdown-it": "latest",
"postcss": "latest",
"postcss-cli": "latest",
"postcss-nesting": "latest",
"rollup": "^2.10",
"rollup-plugin-terser": "^7",
"typescript": "^4.8.4"
},
"sideEffects": [
"./src/index.js",
"./src/spaces/index.js"
]
}