-
Notifications
You must be signed in to change notification settings - Fork 178
/
package.json
101 lines (101 loc) · 2.72 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
{
"name": "@observablehq/plot",
"description": "A JavaScript library for exploratory data visualization.",
"version": "0.6.16",
"author": {
"name": "Observable, Inc.",
"url": "https://observablehq.com"
},
"license": "ISC",
"type": "module",
"main": "src/index.js",
"module": "src/index.js",
"jsdelivr": "dist/plot.umd.min.js",
"unpkg": "dist/plot.umd.min.js",
"exports": {
"umd": "./dist/plot.umd.min.js",
"default": "./src/index.js"
},
"types": "src/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/observablehq/plot.git"
},
"files": [
"dist/**/*.js",
"src/**/*.d.ts",
"src/**/*.js"
],
"scripts": {
"test": "yarn test:mocha && yarn test:tsc && yarn test:lint && yarn test:prettier",
"test:coverage": "c8 yarn test:mocha",
"test:mocha": "mkdir -p test/output && TZ=America/Los_Angeles tsx node_modules/.bin/mocha 'test/**/*-test.*' 'test/plot.*'",
"test:lint": "eslint src test",
"test:prettier": "prettier --check src test",
"test:tsc": "tsc",
"prepublishOnly": "rm -rf dist && rollup -c",
"dev": "vite",
"docs:dev": "node --experimental-network-imports node_modules/vitepress/dist/node/cli.js dev docs",
"docs:build": "node --experimental-network-imports node_modules/vitepress/dist/node/cli.js build docs",
"docs:preview": "vitepress preview docs"
},
"_moduleAliases": {
"@observablehq/plot": "./src/index.js"
},
"sideEffects": [
"./src/index.js"
],
"devDependencies": {
"@observablehq/runtime": "^5.7.3",
"@rollup/plugin-commonjs": "^25.0.2",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.4.0",
"@types/d3": "^7.4.0",
"@types/mocha": "^10.0.1",
"@types/node": "^20.5.0",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"apache-arrow": "^16.0.2",
"c8": "^9.1.0",
"canvas": "^2.0.0",
"d3-geo-projection": "^4.0.0",
"eslint": "^8.16.0",
"eslint-config-prettier": "^9.1.0",
"htl": "^0.3.0",
"js-beautify": "1",
"jsdom": "^24.0.0",
"markdown-it-container": "^4.0.0",
"mocha": "^10.0.0",
"module-alias": "^2.0.0",
"prettier": "~3.0.0",
"rollup": "^4.9.1",
"topojson-client": "^3.1.0",
"ts-morph": "^22.0.0",
"tsx": "^4.7.0",
"typescript": "^5.0.2",
"vite": "^5.0.10",
"vitepress": "^1.3.1"
},
"c8": {
"all": true,
"include": [
"src/**/*.js"
],
"reporter": [
"text",
"lcov"
]
},
"dependencies": {
"d3": "^7.9.0",
"interval-tree-1d": "^1.0.0",
"isoformat": "^0.2.0"
},
"engines": {
"node": ">=12"
},
"publishConfig": {
"access": "public"
}
}