-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
132 lines (132 loc) · 6.49 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "codesandbox",
"version": "0.1.0",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/codesandbox/codesandbox-client"
},
"license": "GPL-3.0",
"workspaces": {
"packages": [
"packages/@styled-system/css",
"packages/@types/styled-components",
"packages/app",
"packages/homepage",
"packages/common",
"packages/components",
"packages/codesandbox-api",
"packages/node-services",
"packages/sandbox-hooks",
"packages/sse-hooks",
"packages/react-embed",
"packages/dynamic-pages",
"packages/notifications",
"packages/deps",
"packages/executors",
"packages/template-icons",
"packages/vue3-transpiler",
"packages/vue3-browser-compiler",
"packages/browser-eslint-rules",
"packages/sandpack-core"
],
"nohoist": [
"**/react-codemirror2",
"**/react-codemirror2/**",
"codesandbox-deps/tern"
]
},
"scripts": {
"build": "cross-env NODE_OPTIONS=\"--max-old-space-size=4096\" yarn build:deps && yarn build:prod",
"build:clean": "lerna run build:clean --scope app --scope homepage && rimraf www",
"build:common": "lerna run build:dev --scope @codesandbox/common --stream",
"build:components": "lerna run build:dev --scope @codesandbox/components --stream",
"build:deps": "lerna run build:dev",
"build:dynamic": "lerna run build --scope dynamic-pages --stream",
"build:embed": "lerna run build:embed --scope app --stream && gulp",
"build:prod": "cross-env NODE_OPTIONS=\"--max-old-space-size=4096\" lerna run build --scope homepage --stream && lerna run build --scope app --stream && lerna run copy-assets --scope app --stream",
"commit": "concurrently \"yarn typecheck\" \"yarn lint\" && git commit -m",
"postinstall": "yarn lerna run install-dependencies --stream --concurrency 1 --ignore smooshpack --ignore react-smooshpack && opencollective postinstall",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate",
"lint": "lerna run lint --stream",
"now-build": "yarn build:deps && lerna run build:storybook --scope @codesandbox/common",
"start": "yarn build:deps && cross-env NODE_ENV=development lerna run start --scope @codesandbox/common --scope @codesandbox/components --scope app --parallel",
"start:common": "lerna run start --scope @codesandbox/common --stream",
"start:components": "lerna run start --scope @codesandbox/components --stream",
"start:dev_api": "(tmux new-session -d -s csb \"NODE_OPTIONS=--max_old_space_size=8192 concurrently --raw 'cd packages/app && yarn start:dev_api' 'cd packages/common && yarn start' 'cd packages/components && yarn start'\" || tmux attach -t csb) && tmux attach -t csb",
"start:dynamic": "lerna run dev --scope dynamic-pages --stream",
"start:fast": "cross-env NODE_ENV=development concurrently --raw \"cd packages/app && yarn start\" \"cd packages/common && yarn start\" \"cd packages/components && yarn start\"",
"start:csb-dev": "cross-env NODE_ENV=development stmux -w always -e ERROR -m beep,system -- [ \"cd packages/app && sleep 15 && yarn start:dev_api\" : [ \"cd packages/common && yarn start\" .. \"cd packages/components && yarn start\" ] ]",
"start:profiling": "cross-env NODE_ENV=production PROFILING=true concurrently --raw \"cd packages/app && yarn start\" \"cd packages/common && yarn start\" \"cd packages/components && yarn start\"",
"start:hot": "cross-env NODE_ENV=development APP_ONLY=true concurrently --raw \"cd packages/app && yarn start\" \"cd packages/common && yarn start\" \"cd packages/components && yarn start\"",
"start:fast:stream": "cross-env ENDPOINT=https://codesandbox.stream NODE_ENV=development concurrently --raw \"cd packages/app && yarn start\" \"cd packages/common && yarn start\" \"cd packages/components && yarn start\"",
"start:fast:local": "cross-env ENDPOINT=http://localhost:4000 NODE_ENV=development concurrently --raw \"cd packages/app && yarn start\" \"cd packages/common && yarn start\" \"cd packages/components && yarn start\"",
"start:home": "yarn build:deps && yarn start:home:fast",
"start:home:fast": "cd packages/homepage && yarn start",
"start:overmind": "yarn build:deps && concurrently \"lerna run start --scope app --stream\" \"overmind-devtools\"",
"start:storybook": "lerna run start:storybook --scope=@codesandbox/common --stream",
"start:test": "lerna run start:test --scope app --stream",
"start:vscode": "cross-env VSCODE=1 yarn start:fast & cd standalone-packages/monaco-editor && yarn simpleserver & cd standalone-packages/vscode && yarn watch",
"test": "lerna run test --ignore codesandbox-browserfs",
"test:pr": "node testpr-script",
"test:ci": "lerna run test --ignore codesandbox-browserfs -- --ci --testResultsProcessor=\"jest-junit\" ",
"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",
"chromatic": "lerna run chromatic --scope=@codesandbox/components --stream",
"typecheck": "lerna run typecheck",
"prettify": "prettier -w ."
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^4.2.0",
"@typescript-eslint/parser": "^4.2.0",
"opencollective": "^1.0.3"
},
"devDependencies": {
"all-contributors-cli": "^6.9.2",
"babel-eslint": "10.0.2",
"concurrently": "^4.1.0",
"cross-env": "^6.0.0",
"eslint": "5.16.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.3.0",
"eslint-import-resolver-webpack": "^0.8.1",
"eslint-loader": "^1.7.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "~7.21.2",
"eslint-plugin-react-hooks": "^4.1.0",
"gulp": "^3.9.1",
"husky": "^4.3.0",
"lerna": "^3.16.4",
"lint-staged": "^9.2.5",
"overmind-devtools": "^26.0.2",
"prettier": "2.1.1",
"pretty-quick": "^3.0.0",
"typescript": "4.0.3",
"username": "^5.1.0"
},
"resolutions": {
"eslint/esquery": "1.0.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"cross-env LINT=1 eslint --fix",
"pretty-quick --staged",
"git add"
]
},
"engines": {
"node": "^10.22.1"
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/codesandbox",
"logo": "https://opencollective.com/codesandbox/logo.txt"
}
}