mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-06-16 18:29:08 +00:00
[design]: overrides pattern, tests, yay!
This commit is contained in:
parent
0ccb5fa32f
commit
dd6f02f4e2
22 changed files with 6165 additions and 1328 deletions
74
package.json
74
package.json
|
@ -13,11 +13,11 @@
|
|||
"flow": "flow",
|
||||
"remotedebug": "remotedebug_ios_webkit_adapter --port=9000 > /dev/null",
|
||||
"test": "jest --color --coverage",
|
||||
"lint": "run-p lint:*",
|
||||
"lint:css": "stylelint 'packages/roleypoly-ui/**/*.js'",
|
||||
"lint:js": "standard",
|
||||
"lint": "lerna run lint-staged",
|
||||
"rpcrepl": "babel-node packages/roleypoly-server/util/rpcrepl.js",
|
||||
"dev:up": "docker-compose up -d"
|
||||
"dev:up": "docker-compose up -d",
|
||||
"storybook": "start-storybook -p 6006",
|
||||
"build-storybook": "build-storybook"
|
||||
},
|
||||
"private": true,
|
||||
"workspaces": [
|
||||
|
@ -25,63 +25,67 @@
|
|||
],
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "yarn lint"
|
||||
"pre-commit": "lerna run --concurrency 1 --stream precommit"
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "^7.4.3",
|
||||
"@babel/core": "^7.4.3",
|
||||
"@babel/cli": "^7.4.4",
|
||||
"@babel/core": "^7.4.4",
|
||||
"@babel/node": "^7.2.2",
|
||||
"@babel/plugin-proposal-class-properties": "^7.4.0",
|
||||
"@babel/plugin-proposal-class-properties": "^7.4.4",
|
||||
"@babel/plugin-proposal-optional-chaining": "^7.2.0",
|
||||
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
||||
"@babel/plugin-transform-runtime": "^7.4.3",
|
||||
"@babel/preset-env": "^7.4.3",
|
||||
"@babel/plugin-transform-runtime": "^7.4.4",
|
||||
"@babel/preset-env": "^7.4.4",
|
||||
"@babel/preset-flow": "^7.0.0",
|
||||
"@babel/preset-react": "^7.0.0",
|
||||
"@types/enzyme": "^3.9.2",
|
||||
"@types/sinon": "^7.0.11",
|
||||
"@types/webpack-env": "^1.13.9",
|
||||
"await-outside": "^2.1.2",
|
||||
"babel-eslint": "^10.0.1",
|
||||
"babel-jest": "^24.7.1",
|
||||
"babel-jest": "^24.8.0",
|
||||
"babel-loader": "^8.0.6",
|
||||
"babel-plugin-macros": "^2.5.1",
|
||||
"babel-plugin-styled-components": "^1.10.0",
|
||||
"babel-plugin-transform-flow-strip-types": "^6.22.0",
|
||||
"chokidar": "^2.1.5",
|
||||
"enzyme": "^3.9.0",
|
||||
"enzyme-adapter-react-16": "^1.12.1",
|
||||
"enzyme-adapter-react-16": "^1.13.1",
|
||||
"enzyme-to-json": "^3.3.5",
|
||||
"eslint": "^5.16.0",
|
||||
"eslint-plugin-flowtype": "^3.6.1",
|
||||
"flow-bin": "^0.97.0",
|
||||
"flow-mono-cli": "^1.5.0",
|
||||
"flow-typed": "^2.5.1",
|
||||
"husky": "^1.3.1",
|
||||
"jest": "^24.7.1",
|
||||
"jest": "^24.8.0",
|
||||
"jest-styled-components": "^6.3.1",
|
||||
"lerna": "^3.13.2",
|
||||
"next": "^8.0.4",
|
||||
"lerna": "^3.14.1",
|
||||
"lint-staged": "^8.1.7",
|
||||
"next": "^8.1.0",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"react": "^16.8.6",
|
||||
"react-dom": "^16.8.6",
|
||||
"react-test-renderer": "^16.8.6",
|
||||
"require-context.macro": "^1.0.4",
|
||||
"standard": "12.0.1",
|
||||
"styled-components": "^4.2.0",
|
||||
"stylelint": "^10.0.1",
|
||||
"stylelint-config-standard": "^18.3.0",
|
||||
"stylelint-config-styled-components": "^0.1.1",
|
||||
"stylelint-processor-styled-components": "^1.6.0"
|
||||
"stylelint-processor-styled-components": "^1.7.0",
|
||||
"ts-jest": "^24.0.2",
|
||||
"tslint": "^5.16.0",
|
||||
"typescript": "^3.4.5",
|
||||
"typescript-tslint-plugin": "^0.3.1"
|
||||
},
|
||||
"standard": {
|
||||
"parser": "babel-eslint",
|
||||
"plugins": [
|
||||
"flowtype"
|
||||
"lint-staged": {
|
||||
"*.{ts,tsx}": [
|
||||
"stylelint --fix",
|
||||
"tslint --fix",
|
||||
"jest",
|
||||
"git add"
|
||||
],
|
||||
"globals": [
|
||||
"$Shape",
|
||||
"$Call"
|
||||
],
|
||||
"ignore": [
|
||||
"flow-typed/*",
|
||||
"packages/*/lib/*",
|
||||
"packages/*/dist/*"
|
||||
"*.{js,jsx}": [
|
||||
"standard --fix",
|
||||
"jest --bail --findRelatedTests",
|
||||
"git add"
|
||||
]
|
||||
}
|
||||
},
|
||||
"dependencies": {}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue