56 lines
1.5 KiB
JSON
56 lines
1.5 KiB
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"engines": {
|
|
"node": ">=12.0.0"
|
|
},
|
|
"scripts": {
|
|
"start": "yarn workspace example-app start",
|
|
"bundle": "yarn build && yarn workspace example-app bundle",
|
|
"build": "lerna run build",
|
|
"test": "yarn build && lerna run test --since origin/master -- --coverage",
|
|
"test:all": "yarn build && lerna run test -- --coverage",
|
|
"lint": "lerna run lint --since origin/master --",
|
|
"lint:all": "lerna run lint --",
|
|
"docker-build": "yarn bundle && docker build . -t spotify/backstage",
|
|
"create-plugin": "backstage-cli create-plugin",
|
|
"release": "if [ \"$(git symbolic-ref --short HEAD)\" = master ]; then echo \"don't try to release master\"; exit 1; else lerna version --no-push; fi",
|
|
"lerna": "lerna",
|
|
"storybook": "yarn workspace storybook start"
|
|
},
|
|
"workspaces": {
|
|
"packages": [
|
|
"packages/*",
|
|
"plugins/*"
|
|
]
|
|
},
|
|
"version": "1.0.0",
|
|
"devDependencies": {
|
|
"@spotify/eslint-config-oss": "^1.0.1",
|
|
"cross-env": "^7.0.0",
|
|
"husky": "^4.2.3",
|
|
"lerna": "^3.20.2",
|
|
"lint-staged": "^10.1.0",
|
|
"prettier": "^1.19.1",
|
|
"typescript": "^3.7.5",
|
|
"zombie": "^6.1.4"
|
|
},
|
|
"dependencies": {
|
|
"@types/classnames": "^2.2.9",
|
|
"moment": "^2.24.0"
|
|
},
|
|
"resolutions": {
|
|
"**/cypress": "4.2.0"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx}": [
|
|
"prettier --config ./prettier.config.js --list-different --write"
|
|
]
|
|
}
|
|
}
|