forked from source-academy/sicp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 1.8 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
{
"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.0.30"
},
"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.17.10",
"@babel/core": "^7.17.10",
"@babel/preset-env": "^7.17.10",
"fs-extra": "^10.1.0",
"http-server": "^14.1.0",
"husky": "^7.0.4",
"js-slang": "^0.5.33",
"lz-string": "^1.4.4",
"prettier": "^2.6.2",
"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",
"nodetest": "./scripts/nodetest.sh"
},
"husky": {
"hooks": {
"pre-commit": "yarn ci:lint",
"pre-push": "yarn ci"
}
}
}