-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
75 lines (75 loc) · 1.73 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
{
"name": "@mapbox/to-color",
"version": "2.1.1",
"description": "Procedurally generate a deterministic, perceptually distributed color palette.",
"main": "dist/to-color.js",
"scripts": {
"start:server": "serve demo",
"start": "run-p start:server watch",
"watch": "watch 'npm run compile' src",
"compile": "rollup -c",
"build": "npm run compile && rm -rf _site && mkdir -p _site && cp -R demo/ _site/",
"test": "eslint src && jest",
"jest-watch": "jest --watch"
},
"keywords": [
"color",
"string",
"seed",
"identifier"
],
"author": "Mapbox",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/preset-env": "^7.12.11",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.1.1",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.6.3",
"eslint": "^7.18.0",
"eslint-config-prettier": "^7.2.0",
"husky": "^4.3.8",
"jest": "^26.6.3",
"lint-staged": "^10.5.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"rollup": "^2.38.1",
"rollup-plugin-babel": "^4.4.0",
"serve": "^14.2.3",
"watch": "^0.13.0"
},
"babel": {
"presets": [
"@babel/preset-env"
],
"plugins": [
"@babel/plugin-proposal-class-properties"
]
},
"lint-staged": {
"*.{js}": [
"prettier --write"
],
"src/*.js": [
"eslint --fix"
]
},
"prettier": {
"trailingComma": "none",
"singleQuote": true
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"repository": {
"type": "git",
"url": "[email protected]:mapbox/to-color.git"
},
"dependencies": {
"d3-color": "^3.1.0"
}
}