-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
113 lines (113 loc) · 4.55 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": "codesandbox",
"version": "0.1.0",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/codesandbox/codesandbox-client"
},
"license": "GPL-3.0",
"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",
"packages/notifications",
"packages/deps",
"packages/executors"
],
"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: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",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate",
"postinstall": "yarn lerna run install-dependencies --scope vscode-textmate --scope codesandbox-browserfs --scope sse-loading-screen --stream && opencollective postinstall",
"lint": "lerna run lint --stream",
"now-build": "yarn build:deps && lerna run build:storybook --scope @codesandbox/common",
"start": "yarn build:deps && lerna run start --scope @codesandbox/common --scope app --parallel",
"start:common": "lerna run start --scope @codesandbox/common --stream",
"start:dev_api": "lerna run start:dev_api --scope app --stream",
"start:dynamic": "lerna run dev --scope dynamic-pages --stream",
"start:fast": "concurrently --raw \"cd packages/app && yarn start\" \"cd packages/common && 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",
"typecheck": "lerna run typecheck --scope app"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"opencollective": "^1.0.3"
},
"devDependencies": {
"all-contributors-cli": "^6.9.1",
"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.14.3",
"eslint-plugin-react-hooks": "^1.7.0",
"gulp": "^3.9.1",
"husky": "^2.2.0",
"lerna": "^3.16.4",
"lint-staged": "^9.2.5",
"prettier": "1.17.0",
"pretty-quick": "^1.10.0",
"typescript": "3.6.3",
"username": "^5.1.0"
},
"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.0.0"
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/codesandbox",
"logo": "https://opencollective.com/codesandbox/logo.txt"
}
}