forked from observablehq/framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
135 lines (135 loc) · 4.75 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "@observablehq/framework",
"license": "ISC",
"version": "1.8.0",
"type": "module",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/observablehq/framework.git"
},
"files": [
"dist/**/*.js",
"dist/**/*.css",
"templates"
],
"bin": {
"observable": "dist/bin/observable.js"
},
"scripts": {
"dev": "rimraf --glob docs/themes.md docs/theme/*.md && (tsx watch docs/theme/generate-themes.ts & tsx watch --no-warnings=ExperimentalWarning ./src/bin/observable.ts preview --no-open)",
"docs:themes": "rimraf --glob docs/themes.md docs/theme/*.md && tsx docs/theme/generate-themes.ts",
"docs:build": "yarn docs:themes && rimraf docs/.observablehq/dist && tsx --no-warnings=ExperimentalWarning ./src/bin/observable.ts build",
"docs:deploy": "yarn docs:themes && tsx --no-warnings=ExperimentalWarning ./src/bin/observable.ts deploy",
"build": "rimraf dist && node build.js --outdir=dist --outbase=src \"src/**/*.{ts,js,css}\" --ignore \"**/*.d.ts\"",
"test": "concurrently npm:test:mocha npm:test:tsc npm:test:lint npm:test:prettier",
"test:coverage": "c8 --check-coverage --lines 80 --per-file yarn test:mocha",
"test:build": "rimraf test/build && node build.js --sourcemap --outdir=test/build \"{src,test}/**/*.{ts,js,css}\" --ignore \"test/input/**\" --ignore \"test/output/**\" --ignore \"test/preview/dashboard/**\" --ignore \"**/*.d.ts\" && cp -r templates test/build",
"test:mocha": "yarn test:build && rimraf --glob test/.observablehq/cache test/input/build/*/.observablehq/cache && cross-env OBSERVABLE_TELEMETRY_DISABLE=1 TZ=America/Los_Angeles mocha --timeout 30000 -p \"test/build/test/**/*-test.js\"",
"test:mocha:serial": "yarn test:build && rimraf --glob test/.observablehq/cache test/input/build/*/.observablehq/cache && cross-env OBSERVABLE_TELEMETRY_DISABLE=1 TZ=America/Los_Angeles mocha --timeout 30000 \"test/build/test/**/*-test.js\"",
"test:lint": "eslint src test --max-warnings=0",
"test:prettier": "prettier --check src test",
"test:tsc": "tsc --noEmit",
"observable": "tsx --no-warnings=ExperimentalWarning ./src/bin/observable.ts",
"prepublishOnly": "yarn build"
},
"c8": {
"all": true,
"include": [
"test/build/src/**/*.js"
],
"exclude": [
"test/build/src/bin/",
"test/build/src/client/",
"test/build/src/convert.js",
"test/build/src/observableApiConfig.js",
"test/build/src/preview.js"
],
"reporter": [
"text",
"lcov"
]
},
"dependencies": {
"@clack/prompts": "^0.7.0",
"@observablehq/inputs": "^0.10.6",
"@observablehq/runtime": "^5.9.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-virtual": "^3.0.2",
"acorn": "^8.11.2",
"acorn-walk": "^8.3.0",
"ci-info": "^4.0.0",
"cross-spawn": "^7.0.3",
"d3-array": "^3.2.4",
"d3-hierarchy": "^3.1.2",
"esbuild": "^0.20.1",
"fast-array-diff": "^1.1.0",
"gray-matter": "^4.0.3",
"he": "^1.2.0",
"highlight.js": "^11.8.0",
"is-docker": "^3.0.0",
"is-wsl": "^3.1.0",
"jsdom": "^23.2.0",
"jszip": "^3.10.1",
"markdown-it": "^14.0.0",
"markdown-it-anchor": "^8.6.7",
"mime": "^4.0.0",
"minisearch": "^6.3.0",
"open": "^10.1.0",
"pkg-dir": "^8.0.0",
"rollup": "^4.6.0",
"rollup-plugin-esbuild": "^6.1.0",
"semver": "^7.5.4",
"send": "^0.18.0",
"tar-stream": "^3.1.6",
"tsx": "^4.7.1",
"untildify": "^5.0.0",
"wrap-ansi": "^9.0.0",
"ws": "^8.14.2"
},
"devDependencies": {
"@types/cross-spawn": "^6.0.6",
"@types/d3-array": "^3.2.1",
"@types/d3-format": "^3.0.4",
"@types/he": "^1.2.3",
"@types/jsdom": "^21.1.6",
"@types/markdown-it": "^13.0.2",
"@types/mime": "^3.0.2",
"@types/mocha": "^10.0.2",
"@types/node": "^20.7.1",
"@types/prompts": "^2.4.9",
"@types/send": "^0.17.2",
"@types/tar-stream": "^3.1.3",
"@types/ws": "^8.5.6",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"c8": "^9.1.0",
"chai": "^4.3.10",
"chai-http": "^4.4.0",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"d3-dsv": "^3.0.1",
"d3-format": "^3.1.0",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.0",
"fast-deep-equal": "^3.1.3",
"glob": "^10.3.10",
"mocha": "^10.2.0",
"prettier": "^3.0.3 <3.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^5.0.5",
"tempy": "^3.1.0",
"typescript": "^5.2.2",
"undici": "^6.7.1"
},
"engines": {
"node": ">=18"
}
}