forked from source-academy/js-slang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
113 lines (113 loc) · 2.88 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
{
"name": "js-slang",
"version": "0.4.45",
"description": "Javascript-based implementations of Source, written in Typescript",
"keywords": [
"JavaScript",
"interpreter",
"compiler",
"Source",
"SICP"
],
"author": {
"name": "Source Academy",
"url": "https://github.com/source-academy/"
},
"dependencies": {
"@types/estree": "0.0.39",
"@types/lodash.assignin": "^4.2.6",
"@types/lodash.clonedeep": "^4.5.6",
"ace-builds": "^1.4.9",
"acorn": "^6.4.1",
"acorn-loose": "^7.0.0",
"acorn-walk": "^7.0.0",
"astring": "^1.3.1",
"jest-html-reporter": "^2.8.2",
"lodash": "^4.17.13",
"node-getopt": "^0.3.2",
"source-map": "^0.7.3",
"xmlhttprequest-ts": "^1.0.1",
"gpu.js": "^2.9.3"
},
"main": "dist/index",
"types": "dist/index",
"files": [
"dist"
],
"bin": {
"js-slang": "dist/repl/repl.js"
},
"scripts": {
"ci": "yarn jsdoc && yarn autocomplete && yarn format:ci && yarn tslint && yarn test",
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
"format:ci": "prettier --list-different \"src/**/*.{ts,tsx}\"",
"prepublishOnly": "tsc",
"test": "jest",
"test-coveralls": "jest --coverage --coverageReporters=text-lcov | coveralls",
"tslint": "tslint -t verbose \"src/**/*.{ts,tsx}\"",
"jsdoc": "./scripts/jsdoc.sh",
"autocomplete": "node ./scripts/updateAutocompleteDocs.js",
"docs": "yarn jsdoc && yarn autocomplete",
"build": "yarn docs && yarn tsc"
},
"repository": {
"type": "git",
"url": "git+https://github.com/source-academy/js-slang.git"
},
"bugs": {
"url": "https://github.com/source-academy/js-slang/issues"
},
"homepage": "https://github.com/source-academy/js-slang",
"devDependencies": {
"@types/jest": "^25.1.1",
"@types/node": "^13.7.0",
"coveralls": "^3.0.2",
"escodegen": "^1.14.1",
"husky": "^4.2.5",
"jest": "^25.2.7",
"jest-html-reporter": "^2.8.2",
"jsdoc": "3.6.3",
"jsdom": "^16.2.2",
"prettier": "^1.19.1",
"ts-jest": "^25.3.1",
"tslint": "^6.0.0",
"typescript": "^3.8.3"
},
"jest": {
"moduleFileExtensions": [
"ts",
"js"
],
"transform": {
"\\.ts$": "<rootDir>/node_modules/ts-jest",
"\\.js$": "<rootDir>/node_modules/babel-jest"
},
"testRegex": "/__tests__/.*\\.ts$",
"testPathIgnorePatterns": [
"/dist/"
],
"coveragePathIgnorePatterns": [
"/dist/",
"/node_modules/",
"/src/typings/",
"/src/utils/testing.ts"
],
"reporters": [
"default",
[
"./node_modules/jest-html-reporter",
{
"pageTitle": "Test Report",
"includeFailureMsg": true,
"includeConsoleLog": true
}
]
]
},
"husky": {
"hooks": {
"pre-commit": "yarn tslint --fix && yarn format && yarn tslint",
"pre-push": "yarn ci"
}
}
}