mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-04-25 12:19:10 +00:00
87 lines
2.5 KiB
JSON
87 lines
2.5 KiB
JSON
{
|
|
"name": "roleypoly",
|
|
"version": "2.0.0",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"lerna": "lerna",
|
|
"start": "node packages/roleypoly-server/dist/index.js",
|
|
"dev": "run-p dev:*",
|
|
"dev:backend": "babel-node packages/roleypoly-server/index.js",
|
|
"dev:bot": "babel-node packages/roleypoly-bot/index.js",
|
|
"build": "lerna run build",
|
|
"flow:install": "flow-mono install-types",
|
|
"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",
|
|
"rpcrepl": "babel-node packages/roleypoly-server/util/rpcrepl.js",
|
|
"dev:up": "docker-compose up -d"
|
|
},
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "yarn lint"
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.4.3",
|
|
"@babel/core": "^7.4.3",
|
|
"@babel/node": "^7.2.2",
|
|
"@babel/plugin-proposal-class-properties": "^7.4.0",
|
|
"@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/preset-flow": "^7.0.0",
|
|
"@babel/preset-react": "^7.0.0",
|
|
"await-outside": "^2.1.2",
|
|
"babel-eslint": "^10.0.1",
|
|
"babel-jest": "^24.7.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-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-styled-components": "^6.3.1",
|
|
"lerna": "^3.13.2",
|
|
"next": "^8.0.4",
|
|
"npm-run-all": "^4.1.5",
|
|
"react": "^16.8.6",
|
|
"react-dom": "^16.8.6",
|
|
"react-test-renderer": "^16.8.6",
|
|
"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"
|
|
},
|
|
"standard": {
|
|
"parser": "babel-eslint",
|
|
"plugins": [
|
|
"flowtype"
|
|
],
|
|
"globals": [
|
|
"$Shape",
|
|
"$Call"
|
|
],
|
|
"ignore": [
|
|
"flow-typed/*",
|
|
"packages/*/lib/*",
|
|
"packages/*/dist/*"
|
|
]
|
|
}
|
|
}
|