forked from Soluto/tweek
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 2.25 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
{
"name": "tweek",
"repository": "Soluto/tweek",
"author": "Soluto",
"license": "MIT",
"scripts": {
"build": "yarn docker-compose build",
"build:e2e": "yarn docker-compose:e2e build",
"build:zap": "yarn docker-compose:zap build",
"start": "yarn docker-compose up -d",
"recreate": "yarn start:e2e --force-recreate git redis",
"start:e2e": "yarn docker-compose:e2e up -d",
"start:test": "yarn docker-compose:e2e up --exit-code-from",
"start:test:zap": "yarn docker-compose:zap up --exit-code-from",
"test:ui": "cd e2e/ui && yarn test",
"test:integration": "cd e2e/integration && yarn test",
"test": "yarn test:integration && yarn test:ui",
"test:full-env": "yarn recreate && yarn start:e2e editor management && yarn test",
"test:full-env:build": "yarn build:e2e && yarn test:full-env",
"test:docker": "yarn build:e2e && yarn recreate && yarn start:test smoke-tests smoke-tests && yarn start:test e2e-integration e2e-integration && yarn start:test e2e-ui e2e-ui",
"test:docker:zap": "yarn build:zap && yarn recreate && yarn start:test:zap smoke-tests smoke-tests && yarn start:test:zap e2e-integration e2e-integration && yarn start:test:zap e2e-ui e2e-ui && yarn start:test:zap glue glue",
"logs": "yarn docker-compose logs",
"logs:e2e": "yarn docker-compose:e2e logs",
"logs:zap": "yarn docker-compose:zap logs",
"teardown": "yarn docker-compose down --remove-orphans",
"docker-compose": "docker-compose -f ./deployments/dev/docker-compose.yml -f ./deployments/dev/docker-compose.override.yml",
"docker-compose:e2e": "yarn docker-compose -f ./deployments/dev/docker-compose.e2e.yml",
"docker-compose:zap": "yarn docker-compose:e2e -f ./deployments/dev/docker-compose.zap.yml",
"format": "prettier-eslint --trailing-comma all --print-width 100 --single-quote --write",
"format:ts": "tsfmt -r",
"precommit": "lint-staged"
},
"devDependencies": {
"husky": "^0.14.3",
"lint-staged": "^4.3.0",
"prettier": "^1.7.4",
"prettier-eslint-cli": "^4.4.0",
"typescript-formatter": "^7.0.0"
},
"lint-staged": {
"linters": {
"**/*.js": [
"yarn format",
"git add"
],
"**/*.ts": [
"yarn format:ts",
"git add"
]
}
}
}