2018-12-07 17:44:11 +03:00
|
|
|
{
|
|
|
|
"private": true,
|
|
|
|
"devDependencies": {
|
2020-08-01 21:21:04 +03:00
|
|
|
"babel-eslint": "^10.1.0",
|
|
|
|
"eslint": "^5.16.0",
|
|
|
|
"eslint-config-prettier": "^3.6.0",
|
|
|
|
"eslint-plugin-babel": "^5.3.1",
|
|
|
|
"eslint-plugin-prettier": "^3.1.4",
|
|
|
|
"eslint-plugin-react": "^7.20.5",
|
|
|
|
"jest": "^24.9.0",
|
|
|
|
"lerna": "^3.22.1",
|
|
|
|
"lint-staged": "^8.2.1",
|
|
|
|
"prettier": "^1.19.1"
|
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": [
|
2020-08-01 00:32:41 +03:00
|
|
|
"packages/*",
|
2020-08-01 00:41:16 +03:00
|
|
|
"packages/react-json-tree/examples",
|
|
|
|
"packages/redux-devtools/examples/counter",
|
2020-08-01 06:51:44 +03:00
|
|
|
"packages/redux-devtools/examples/todomvc",
|
|
|
|
"packages/redux-slider-monitor/examples/todomvc"
|
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
|
|
|
}
|