forked from codesandbox/codesandbox-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 2.36 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
{
"name": "codesandbox",
"version": "0.1.0",
"license": "MIT",
"private": true,
"scripts": {
"build": "yarn build:deps && yarn build:prod",
"build:prod": "lerna run build --scope homepage --stream && lerna run build --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",
"start": "yarn build:deps && lerna run start --scope app --stream",
"start:fast": "lerna run start --scope app --stream",
"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 && yarn lerna run install-dependencies --scope codesandbox-browserfs --stream"
},
"lint-staged": {
"*.{js,css,json}": [
"prettier --write --single-quote --trailing-comma es5",
"git add"
]
},
"workspaces": {
"packages": [
"packages/app",
"packages/common",
"packages/codesandbox-api",
"packages/sandpack",
"packages/react-sandpack",
"packages/homepage"
],
"nohoist": ["**/gatsby", "**/gatsby/**"]
},
"resolutions": {
"uglify-es": "npm:terser"
},
"devDependencies": {
"all-contributors-cli": "^4.3.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"
}
}