Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
57 lines (56 sloc) 1.76 KB
{
"name": "tweek",
"repository": "Soluto/tweek",
"author": "Soluto",
"license": "MIT",
"private": true,
"scripts": {
"build": "yarn docker-compose build",
"build:e2e": "yarn docker-compose:e2e build",
"build:test": "run-p -l build:e2e teardown",
"start": "yarn docker-compose up -d",
"start:e2e": "yarn docker-compose:e2e up -d",
"start:test": "yarn start:e2e editor publishing",
"test": "run-s -l test:local:*",
"test:local:integration": "cd e2e/integration && yarn test",
"test:local:ui": "cd e2e/ui && yarn test",
"test:full-env": "run-s build:test start:test test",
"test:docker": "run-s build:test test:docker:*",
"test:docker:smoke": "yarn docker-compose:e2e run --rm smoke-tests",
"test:docker:integration": "yarn docker-compose:e2e run --rm e2e-integration",
"test:docker:ui": "yarn docker-compose:e2e run --rm e2e-ui",
"logs": "yarn docker-compose logs",
"logs:e2e": "yarn docker-compose:e2e 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",
"format:go": "gofmt -l -w"
},
"devDependencies": {
"husky": "^1.3.1",
"lint-staged": "^8.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.16.1"
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"trailingComma": "all",
"arrowParens": "always"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,css,md,jsx}": [
"prettier --write",
"git add"
],
"*.go": [
"yarn format:go",
"git add"
]
}
}