forked from y-kkamil/console
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
26 lines (26 loc) · 1.18 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
{
"scripts": {
"precommit": "lint-staged",
"bootstrap": "lerna bootstrap && npm run build:components && npm run git-ignore-config && sudo npm run append-host",
"clean": "lerna clean",
"start": "lerna exec --ignore ui-tests --ignore @kyma-project/react-components --parallel -- npm run start:kyma",
"start:api": "lerna exec --ignore ui-tests --ignore @kyma-project/react-components --parallel -- npm run start:kyma:api",
"build:components": "npm run build:components:react",
"build:components:react": "cd components/react && npm run build",
"build:components:angular": "lerna run packagr",
"git-ignore-config": "git update-index --assume-unchanged core/src/assets/config/config.js lambda/src/assets/config/config.js catalog/public/config/config.js instances/public/config/config.js brokers/public/config/config.js content/public/config/config.js",
"append-host": "echo '127.0.0.1 console-dev.kyma.local' >> /etc/hosts"
},
"devDependencies": {
"husky": "^0.14.0",
"lerna": "^2.11.0",
"lint-staged": "^7.0.0",
"prettier": "^1.11.0"
},
"lint-staged": {
"**/*.{css,js,jsx,json,ts,tsx}": [
"prettier --write",
"git add"
]
}
}