forked from source-academy/modules
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
95 lines (95 loc) · 3.32 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
{
"private": true,
"name": "modules",
"version": "1.0.0",
"repository": "https://github.com/source-academy/modules.git",
"license": "Apache-2.0",
"scripts-info": {
"module": "Add a new bundle or tab",
"lint": "Check code for errors",
"lint:fix": "Automatically fix lint errors",
"build": "Transpile modules' files from src folder to build folder as well as generates TypeDoc",
"build:modules": "Transpile modules' files from src folder to build folder",
"build:docs": "Generates TypeDoc in build\\documentation",
"serve": "Start the http-server to serve all files in the build folder with the same directory structure",
"prepare": "Enable git hooks",
"test": "Run unit tests",
"test:watch": "Watch files for changes and rerun tests related to changed files"
},
"scripts": {
"module": "node ./scripts/templates/app.js",
"lint": "./node_modules/.bin/eslint --config ./.eslintrc.js --ext \".ts, .tsx\" src",
"lint:fix": "./node_modules/.bin/eslint --config ./.eslintrc.js --ext \".ts, .tsx\" src --fix",
"build": "yarn lint && yarn build:docs && yarn build:modules",
"build:modules": "./node_modules/.bin/tsc && rollup --config rollup.config.js",
"build:docs": "node ./scripts/docs/index.js",
"serve": "http-server --cors=* -c-1 -p 8022 ./build",
"prepare": "husky install",
"test": "jest --verbose",
"test:watch": "jest --watch"
},
"devDependencies": {
"@babel/cli": "^7.13.10",
"@babel/core": "^7.13.13",
"@babel/preset-env": "^7.13.12",
"@babel/preset-react": "^7.12.13",
"@babel/preset-typescript": "^7.13.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"@rollup/plugin-typescript": "^8.2.0",
"@types/jest": "^26.0.22",
"@types/node": "^14.14.34",
"@types/react": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^4.17.0",
"@typescript-eslint/parser": "^4.17.0",
"babel-jest": "^26.6.3",
"eslint": "^7.22.0",
"eslint-config-airbnb-typescript": "^12.3.1",
"eslint-config-prettier": "^8.1.0",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"generate-template-files": "^3.0.0",
"http-server": "^0.12.3",
"husky": "5",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"rollup": "^2.41.2",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-filesize": "^9.1.1",
"rollup-plugin-inject-process-env": "^1.3.1",
"ts-jest": "^26.5.4",
"typedoc": "^0.20.33",
"typescript": "^4.2.3",
"yarnhook": "^0.5.1"
},
"dependencies": {
"@blueprintjs/core": "^3.42.0",
"@blueprintjs/icons": "^3.26.0",
"@blueprintjs/popover2": "^0.4.0",
"@types/dom-mediacapture-record": "^1.0.7",
"chalk": "^4.1.0",
"dayjs": "^1.10.4",
"gl-matrix": "^3.3.0",
"lodash": "^4.17.21",
"phaser": "^3.54.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"typedoc-default-themes": "^0.12.10"
},
"peerDependencies": {
"tslib": "^2.1.0"
},
"jest": {
"roots": [
"<rootDir>/src/bundles",
"<rootDir>/src/tabs",
"<rootDir>/scripts"
]
}
}