forked from codesandbox/codesandbox-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 3.34 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
{
"name": "codesandbox",
"version": "0.1.0",
"license": "MIT",
"private": true,
"scripts": {
"build": "NODE_OPTIONS=\"--max-old-space-size=4096\" yarn build:deps && yarn build:prod",
"build:prod": "lerna run build --scope homepage --stream && lerna run build --scope app --stream && gulp",
"build:embed": "lerna run build:embed --scope app --stream && gulp",
"build:clean": "lerna run build:clean --scope app --scope homepage && rimraf www",
"build:deps": "lerna run build:dev --scope codesandbox-api --scope codesandbox-browserfs --scope node-services && lerna run build:dev --scope sse-hooks",
"start": "yarn build:deps && lerna run start --scope app --stream",
"start:fast": "lerna run start --scope app --stream",
"start:vscode": "VSCODE=1 yarn start:fast & cd standalone-packages/monaco-editor && yarn simpleserver & cd standalone-packages/vscode && yarn watch",
"start:home": "lerna run start --scope homepage --stream",
"start:test": "lerna run start:test --scope app --stream",
"start:dev_api": "lerna run start --parallel --scope codesandbox-api & lerna run start:dev_api --scope app --stream",
"test": "lerna run test --ignore codesandbox-browserfs",
"test:integrations": "lerna exec --scope app --stream -- yarn test:integrations",
"test:jest-lite": "lerna exec --scope app --stream -- yarn run test jest-lite --watch --coverage",
"lint": "lerna run lint",
"add-contributor": "all-contributors add",
"generate": "all-contributors generate",
"precommit": "lint-staged",
"postinstall": "rimraf packages/app/node_modules/styled-components node_modules/react-split-pane/node_modules/react* && cp -R node_modules/uglify-es node_modules/terser && yarn lerna run install-dependencies --scope codesandbox-browserfs --scope sse-loading-screen --stream && opencollective postinstall"
},
"lint-staged": {
"*.{js,css,json}": [
"prettier --write --single-quote --trailing-comma es5",
"git add"
]
},
"workspaces": {
"packages": [
"packages/app",
"packages/homepage",
"packages/common",
"packages/codesandbox-api",
"packages/sandpack",
"packages/react-sandpack",
"packages/node-services",
"packages/sandbox-hooks",
"packages/sse-hooks",
"packages/react-embed",
"packages/dynamic-pages"
],
"nohoist": [
"**/@types",
"**/@types/**",
"**/react-codemirror2",
"**/react-codemirror2/**"
]
},
"resolutions": {
"uglify-es": "npm:terser",
"react-split-pane/react-dom": "16.8.1"
},
"devDependencies": {
"all-contributors-cli": "^5.4.0",
"babel-eslint": "^8.2.1",
"eslint": "CompuIves/eslint#add/define-parser",
"eslint-config-airbnb": "^15.0.1",
"eslint-config-prettier": "^2.1.1",
"eslint-import-resolver-webpack": "^0.8.1",
"eslint-loader": "^1.7.1",
"eslint-plugin-flowtype": "^2.34.0",
"eslint-plugin-import": "^2.3.0",
"eslint-plugin-jsx-a11y": "^5.0.3",
"eslint-plugin-react": "~7.4.0",
"flow-bin": "^0.72.0",
"gulp": "^3.9.1",
"lerna": "^2.5.1",
"lint-staged": "^5.0.0",
"prettier": "^1.8.2"
},
"dependencies": {
"opencollective": "^1.0.3"
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/codesandbox",
"logo": "https://opencollective.com/codesandbox/logo.txt"
}
}