summaryrefslogtreecommitdiff
path: root/package.json
blob: 70a77658428258690e31f1d2cd2a5909c3da855b (plain)
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
{
  "name": "chroma-js",
  "description": "JavaScript library for color conversions",
  "version": "2.1.1",
  "author": "Gregor Aisch",
  "homepage": "https://github.com/gka/chroma.js",
  "keywords": [
    "color"
  ],
  "maintainers": [
    {
      "name": "Gregor Aisch",
      "email": "mail@driven-by-data.net",
      "web": "https://vis4.net"
    }
  ],
  "bugs": "https://github.com/gka/chroma.js/issues",
  "repository": {
    "type": "git",
    "url": "git://github.com/gka/chroma.js.git"
  },
  "main": "chroma.js",
  "scripts": {
    "prepublishOnly": "npm run build && npm test",
    "build": "rollup -c && cross-env DEV=1 rollup -c ",
    "docs": "cd docs && make",
    "docs-preview": "cd docs && make && make preview",
    "test": "vows --dot-matrix test/*.js",
    "lint": "eslint index.js index-light.js src"
  },
  "devDependencies": {
    "babel-eslint": "^10.0.1",
    "es6-shim": "^0.18.0",
    "eslint": "^5.10.0",
    "http-server": "^0.11.1",
    "husky": "^1.2.1",
    "markdown-to-html": "0.0.13",
    "minimatch": "^3.0.4",
    "rollup": "^0.67.4",
    "rollup-plugin-buble": "^0.19.4",
    "rollup-plugin-commonjs": "^9.2.0",
    "rollup-plugin-license": "^0.12.1",
    "rollup-plugin-node-resolve": "^3.4.0",
    "rollup-plugin-replace": "^2.1.0",
    "rollup-plugin-uglify": "^6.0.0",
    "vows": "^0.8.2"
  },
  "license": "(BSD-3-Clause AND Apache-2.0)",
  "spm": {
    "main": "chroma.js",
    "ignore": [
      "src",
      "doc",
      "test"
    ]
  },
  "husky": {
    "hooks": {
      "pre-commit": "npm run lint",
      "pre-push": "npm test"
    }
  },
  "dependencies": {
    "cross-env": "^6.0.3"
  }
}