forked from deriv-com/deriv-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
30 lines (30 loc) · 1.5 KB
/
package.json
File metadata and controls
30 lines (30 loc) · 1.5 KB
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
{
"name": "root",
"private": true,
"devDependencies": {
"husky": "^3.0.1",
"lerna": "^3.15.0"
},
"scripts": {
"bootstrap": "f () { npm ci && lerna bootstrap --scope deriv-${1:-'*'} && npm run build:travis ;}; f",
"start": "f () { lerna exec --scope deriv-${1:-'*'} -- npm run start ;}; f",
"serve": "f () { lerna exec --scope deriv-${1:-'*'} -- npm run serve ;}; f",
"build": "f () { lerna exec --scope deriv-${1:-'*'} -- npm run build ${@:2} ;}; f",
"build:travis": "lerna exec -- npm run build:travis",
"test": "f () { lerna exec --scope deriv-${1:-'*'} -- npm run test ;}; f",
"test:eslint": "f () { lerna exec --scope deriv-${1:-'*'} -- npm run test:eslint ;}; f",
"test:stylelint": "f () { lerna exec --scope deriv-${1:-'*'} -- npm run test:stylelint ;}; f",
"test:mocha": "f () { lerna exec --scope deriv-${1:-'*'} -- npm run test:mocha ;}; f",
"deploy": "f () { lerna exec --scope deriv-${1:-'*'} -- npm run deploy ;}; f",
"deploy:clean": "f () { lerna exec --scope deriv-${1:-'*'} -- npm run deploy:clean ${@:2} ;}; f",
"deploy:folder": "f () { lerna exec --scope deriv-${1:-'*'} -- npm run deploy:folder ${@:2} ;}; f",
"deploy:staging": "f () { lerna exec --scope deriv-${1:-'*'} -- npm run deploy:staging ;}; f",
"deploy:production": "f () { lerna exec --scope deriv-${1:-'*'} -- npm run deploy:production ;}; f"
},
"husky": {
"hooks": {
"pre-push": "bash ./hooks/pre-push.sh",
"post-merge": "npm run build:travis"
}
}
}