-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
58 lines (58 loc) · 2 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
{
"name": "myst-templates-api",
"private": true,
"description": "API for browsing and downloading MyST templates",
"author": "Rowan Cockett <[email protected]>",
"homepage": "https://github.com/myst-templates",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/myst-templates/templates.git"
},
"bin": "./dist/myst-templates-api.cjs",
"scripts": {
"clean": "rimraf dist _build api",
"lint": "eslint -c .eslintrc.cjs src/**/*.ts",
"lint:format": "prettier --check \"src/**/*.ts\"",
"unlink": "npm uninstall -g myst-templates-api;",
"link": "npm run unlink; npm link;",
"dev": "npm run link && esbuild cli/index.ts --bundle --outfile=dist/myst-templates-api.cjs --platform=node --watch",
"build:cli": "esbuild cli/index.ts --bundle --outfile=dist/myst-templates-api.cjs --platform=node",
"build:api": "esbuild src/index.ts src/utils.ts --outdir=api --platform=node --format=cjs",
"copy:data": "mkdir api && mkdir api/data && copyfiles -f src/data/*.json api/data",
"build": "npm-run-all -l clean copy:data -p build:cli build:api",
"compile": "tsc --noEmit",
"test": "npm run compile",
"start": "vercel dev",
"deploy": "vercel deploy --prod"
},
"bugs": {
"url": "https://github.com/myst-templates/templates/issues"
},
"dependencies": {
"@types/express": "^4.17.17",
"express": "^4.18.2",
"js-yaml": "^4.1.0",
"myst-cli-utils": "^2.0.6",
"myst-common": "^1.1.20",
"myst-templates": "^1.0.14",
"node-fetch": "^3.3.1",
"simple-validators": "^1.0.4",
"unist-util-remove": "^3.1.1",
"unist-util-select": "^4.0.3",
"vercel": "^30.2.2"
},
"devDependencies": {
"@types/js-yaml": "^4.0.5",
"@types/node": "^20.3.1",
"commander": "^10.0.1",
"copyfiles": "^2.4.1",
"esbuild": "^0.18.3",
"eslint": "^8.42.0",
"eslint-config-curvenote": "^0.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"rimraf": "^5.0.1",
"typescript": "^5.1.3"
}
}