2018-12-07 17:44:11 +03:00
|
|
|
{
|
|
|
|
"private": true,
|
|
|
|
"devDependencies": {
|
2020-08-01 21:21:04 +03:00
|
|
|
"babel-eslint": "^10.1.0",
|
2020-08-08 22:46:01 +03:00
|
|
|
"eslint": "^7.6.0",
|
|
|
|
"eslint-config-prettier": "^6.11.0",
|
2020-08-01 21:21:04 +03:00
|
|
|
"eslint-plugin-babel": "^5.3.1",
|
|
|
|
"eslint-plugin-prettier": "^3.1.4",
|
|
|
|
"eslint-plugin-react": "^7.20.5",
|
2020-08-05 16:12:31 +03:00
|
|
|
"husky": "^4.2.5",
|
2020-08-08 22:46:01 +03:00
|
|
|
"jest": "^26.2.2",
|
2020-08-01 21:21:04 +03:00
|
|
|
"lerna": "^3.22.1",
|
2020-08-08 22:46:01 +03:00
|
|
|
"lint-staged": "^10.2.11",
|
2020-08-08 23:26:39 +03:00
|
|
|
"prettier": "^2.0.5"
|
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",
|
2020-08-05 16:12:31 +03:00
|
|
|
"lint": "eslint \"**/*.{js,jsx}\" --cache",
|
|
|
|
"lint:fix": "eslint \"**/*.{js,jsx}\" --fix --cache",
|
|
|
|
"lint:all": "eslint \"**/*.{js,jsx}\"",
|
|
|
|
"prettify": "prettier \"**/*.{js,jsx,json,css,html,md}\" --write",
|
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-05 15:42:25 +03:00
|
|
|
"packages/d3-state-visualizer/examples/tree",
|
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",
|
2020-08-09 16:46:22 +03:00
|
|
|
"packages/redux-devtools-slider-monitor/examples/todomvc"
|
2019-01-03 18:40:38 +03:00
|
|
|
],
|
2019-02-06 02:59:55 +03:00
|
|
|
"engines": {
|
2020-08-08 22:46:01 +03:00
|
|
|
"node": ">=10.13.0"
|
2020-08-05 16:12:31 +03:00
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
2019-02-06 02:59:55 +03:00
|
|
|
},
|
2019-01-10 21:51:14 +03:00
|
|
|
"lint-staged": {
|
|
|
|
"*.{js,jsx}": [
|
2020-08-05 16:12:31 +03:00
|
|
|
"prettier --write",
|
2020-08-08 22:46:01 +03:00
|
|
|
"yarn lint:fix"
|
2019-01-10 21:51:14 +03:00
|
|
|
],
|
|
|
|
"*.{json,css,html,md}": [
|
2020-08-08 22:46:01 +03:00
|
|
|
"prettier --write"
|
2019-01-10 21:51:14 +03:00
|
|
|
]
|
|
|
|
}
|
2018-12-07 17:44:11 +03:00
|
|
|
}
|