forked from source-academy/sicp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 1.84 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
{
"name": "sicpjs",
"version": "1.0.0",
"description": "infrastructure for generating SICP JS",
"keywords": [
"JavaScript",
"Source",
"SICP",
"SICP JS"
],
"author": {
"name": "Source Academy",
"url": "https://github.com/source-academy/"
},
"license": "Apache-2.0",
"dependencies": {
"sicp": "^1.1.4"
},
"repository": {
"type": "git",
"url": "git+https://github.com/source-academy/sicp.git"
},
"bugs": {
"url": "https://github.com/source-academy/sicp/issues"
},
"homepage": "https://sourceacademy.org/sicpjs",
"devDependencies": {
"@babel/node": "^7.20.7",
"@babel/core": "^7.21.4",
"@babel/preset-env": "^7.22.5",
"fs-extra": "^11.1.1",
"http-server": "^14.1.1",
"husky": "^8.0.3",
"js-slang": "^1.0.25",
"lz-string": "^1.5.0",
"prettier": "^2.8.8",
"xmldom": "^0.6.0",
"xpath": "0.0.32"
},
"scripts": {
"process": "babel-node ./javascript/index.js",
"do": "./scripts/do.sh",
"all": "yarn pdf; yarn web; yarn split; yarn js; yarn json;",
"lint": "prettier --list-different \"javascript/**/*.js\"",
"checktags": "babel-node ./javascript/findBadTags.js",
"ci": "yarn ci:lint",
"ci:lint": "prettier --list-different \"javascript/**/*.js\"",
"clean": "yarn do clean",
"format": "prettier --write ./javascript/*.js ./javascript/*/*.js",
"js": "yarn process js",
"json": "yarn process json",
"pdf": "yarn do pdf",
"prepare": "yarn do prepare",
"split": "yarn process web split",
"svgpdf": "./scripts/svg_to_pdf.sh",
"test": "node ./scripts/test.js",
"try": "cd docs_out; http-server --cors --port 8080",
"tryjson": "http-server --cors --port 8080",
"nodetest": "./scripts/nodetest.sh"
},
"husky": {
"hooks": {
"pre-commit": "yarn ci:lint",
"pre-push": "yarn ci"
}
}
}