forked from observablehq/plot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
79 lines (79 loc) · 2.01 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
{
"name": "@observablehq/plot",
"description": "A JavaScript library for exploratory data visualization.",
"version": "0.5.1",
"author": {
"name": "Observable, Inc.",
"url": "https://observablehq.com"
},
"license": "ISC",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"jsdelivr": "dist/plot.umd.min.js",
"unpkg": "dist/plot.umd.min.js",
"exports": {
"mocha": "./src/index.js",
"umd": "./dist/plot.umd.min.js",
"default": "./dist/index.js"
},
"repository": {
"type": "git",
"url": "https://github.com/observablehq/plot.git"
},
"files": [
"dist/**/*.js",
"src/**/*.js"
],
"scripts": {
"test": "yarn test:typecheck && yarn test:lint && yarn test:mocha",
"test:mocha": "mkdir -p test/output && mocha --conditions=mocha",
"test:lint": "eslint src test",
"test:typecheck": "tsc --noEmit",
"prepublishOnly": "rm -rf dist && rollup -c && tsc",
"postpublish": "git push && git push --tags",
"dev": "vite"
},
"_moduleAliases": {
"@observablehq/plot": "./src/index.js"
},
"sideEffects": false,
"devDependencies": {
"@rollup/plugin-commonjs": "22",
"@rollup/plugin-json": "4",
"@rollup/plugin-node-resolve": "13",
"@rollup/plugin-typescript": "^8.3.2",
"@types/d3": "^7.4.0",
"@types/expect": "^24.3.0",
"@types/mocha": "^9.1.1",
"@types/node": "^17.0.35",
"@typescript-eslint/eslint-plugin": "^5.25.0",
"@typescript-eslint/parser": "^5.25.0",
"canvas": "2",
"eslint": "^8.16.0",
"glob": "^8.0.3",
"htl": "0.3",
"js-beautify": "1",
"jsdom": "19",
"mocha": "10",
"module-alias": "2",
"rollup": "2",
"rollup-plugin-terser": "7",
"ts-node": "^10.8.0",
"tslib": "^2.4.0",
"typescript": "^4.6.4",
"typescript-module-alias": "^1.0.2",
"vite": "2"
},
"dependencies": {
"d3": "^7.5.0",
"interval-tree-1d": "1",
"isoformat": "0.2"
},
"engines": {
"node": ">=12"
},
"publishConfig": {
"access": "public"
}
}