2018-12-07 17:44:11 +03:00
|
|
|
{
|
|
|
|
"private": true,
|
|
|
|
"devDependencies": {
|
2018-12-12 19:34:22 +03:00
|
|
|
"babel-eslint": "^10.0.0",
|
2019-01-10 20:23:33 +03:00
|
|
|
"eslint": "^5.12.0",
|
|
|
|
"eslint-config-prettier": "^3.3.0",
|
|
|
|
"eslint-plugin-babel": "^5.3.0",
|
|
|
|
"eslint-plugin-prettier": "^3.0.1",
|
2019-01-09 03:18:30 +03:00
|
|
|
"eslint-plugin-react": "7.12.3",
|
2019-02-06 02:59:55 +03:00
|
|
|
"jest": "^24.1.0",
|
2019-01-09 03:18:30 +03:00
|
|
|
"lerna": "3.9.0",
|
2019-01-10 21:51:14 +03:00
|
|
|
"lint-staged": "^8.1.0",
|
|
|
|
"prettier": "^1.15.3"
|
2018-12-07 17:44:11 +03:00
|
|
|
},
|
|
|
|
"scripts": {
|
2018-12-11 03:28:55 +03:00
|
|
|
"lerna": "lerna",
|
2019-01-05 03:49:32 +03:00
|
|
|
"build": "lerna run prepare --since master --stream --sort -- --scripts-prepend-node-path",
|
2018-12-21 22:31:45 +03:00
|
|
|
"build:all": "lerna run build",
|
2018-12-11 03:28:55 +03:00
|
|
|
"publish": "lerna publish",
|
|
|
|
"canary": "lerna publish --canary preminor --npm-tag alpha",
|
|
|
|
"next": "lerna publish --bump prerelease --npm-tag next",
|
2019-01-10 20:23:33 +03:00
|
|
|
"lint": "eslint '**/*.{js,jsx}' --cache",
|
|
|
|
"lint:fix": "eslint '**/*.{js,jsx}' --fix --cache",
|
|
|
|
"lint:all": "eslint '**/*.{js,jsx}'",
|
2019-01-10 21:51:14 +03:00
|
|
|
"prettify": "prettier '**/*.{js,jsx,json,css,html,md}' --ignore-path .eslintignore --single-quote --write",
|
|
|
|
"precommit": "lint-staged",
|
2019-01-09 03:18:30 +03:00
|
|
|
"test": "jest --onlyChanged",
|
|
|
|
"test:all": "jest"
|
2018-12-07 17:44:11 +03:00
|
|
|
},
|
|
|
|
"workspaces": [
|
|
|
|
"packages/*"
|
2019-01-03 18:40:38 +03:00
|
|
|
],
|
2019-02-06 02:59:55 +03:00
|
|
|
"engines": {
|
|
|
|
"node": ">=8.0.0"
|
|
|
|
},
|
2019-01-10 21:51:14 +03:00
|
|
|
"lint-staged": {
|
|
|
|
"*.{js,jsx}": [
|
|
|
|
"prettier --single-quote --write",
|
|
|
|
"yarn lint:fix",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"*.{json,css,html,md}": [
|
|
|
|
"prettier --single-quote --write",
|
|
|
|
"git add"
|
|
|
|
]
|
|
|
|
}
|
2018-12-07 17:44:11 +03:00
|
|
|
}
|