forked from observablehq/framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 3.31 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
{
"name": "@observablehq/framework",
"license": "ISC",
"version": "1.0.0",
"type": "module",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/observablehq/framework.git"
},
"files": [
"bin/**/*.js",
"bin/**/*.ts",
"src/**/*.js",
"src/**/*.ts",
"src/**/*.css",
"templates"
],
"bin": {
"observable": "bin/observable-init.js"
},
"scripts": {
"dev": "rm -f docs/themes.md docs/theme/*.md && (tsx watch docs/theme/generate-themes.ts & tsx watch --no-warnings=ExperimentalWarning ./bin/observable.ts preview --no-open)",
"build": "yarn rebuild-themes && rm -rf dist && tsx --no-warnings=ExperimentalWarning ./bin/observable.ts build",
"deploy": "yarn rebuild-themes && tsx --no-warnings=ExperimentalWarning ./bin/observable.ts deploy",
"rebuild-themes": "rm -f docs/themes.md docs/theme/*.md && tsx docs/theme/generate-themes.ts",
"test": "yarn test:mocha && yarn test:tsc && yarn test:lint && yarn test:prettier",
"test:coverage": "c8 yarn test:mocha",
"test:mocha": "rm -rf test/.observablehq/cache test/input/build/*/.observablehq/cache && OBSERVABLE_TELEMETRY_DISABLE=1 TZ=America/Los_Angeles tsx --no-warnings=ExperimentalWarning ./node_modules/.bin/mocha 'test/**/*-test.*'",
"test:lint": "eslint src test --max-warnings=0",
"test:prettier": "prettier --check src test",
"test:tsc": "tsc --noEmit",
"observable": "tsx --no-warnings=ExperimentalWarning ./bin/observable.ts"
},
"c8": {
"all": true,
"include": [
"src/**/*.js",
"src/**/*.ts"
],
"reporter": [
"text",
"lcov"
]
},
"dependencies": {
"@clack/prompts": "^0.7.0",
"@observablehq/inputs": "^0.10.6",
"@observablehq/runtime": "^5.9.4",
"@rollup/plugin-node-resolve": "^15.2.3",
"acorn": "^8.11.2",
"acorn-walk": "^8.3.0",
"ci-info": "^4.0.0",
"esbuild": "^0.19.8",
"fast-array-diff": "^1.1.0",
"fast-deep-equal": "^3.1.3",
"gray-matter": "^4.0.3",
"he": "^1.2.0",
"highlight.js": "^11.8.0",
"is-docker": "^3.0.0",
"is-wsl": "^3.1.0",
"jszip": "^3.10.1",
"linkedom": "^0.15.6",
"markdown-it": "^13.0.2",
"markdown-it-anchor": "^8.6.7",
"mime": "^3.0.0",
"minisearch": "^6.3.0",
"open": "^9.1.0",
"rollup": "^4.6.0",
"rollup-plugin-esbuild": "^6.1.0",
"send": "^0.18.0",
"tar-stream": "^3.1.6",
"tsx": "~4.2.1",
"untildify": "^5.0.0",
"wrap-ansi": "^9.0.0",
"ws": "^8.14.2"
},
"devDependencies": {
"@types/he": "^1.2.3",
"@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": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"c8": "^8.0.1",
"chai": "^4.3.10",
"chai-http": "^4.4.0",
"d3-array": "^3.2.4",
"d3-dsv": "^3.0.1",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.0",
"mocha": "^10.2.0",
"prettier": "^3.0.3 <3.1",
"typescript": "^5.2.2",
"undici": "^5.27.2"
},
"engines": {
"node": ">=20.6"
}
}