add tests; resync files, forgot where i was.

This commit is contained in:
41666 2019-03-29 13:59:57 -05:00
parent 6b36b1d5f2
commit 1a794e2d7e
No known key found for this signature in database
GPG key ID: BC51D07640DC10AF
30 changed files with 3654 additions and 534 deletions

View file

@ -9,11 +9,12 @@
"build:ui": "NODE_ENV=production next build ui",
"build:server": "NODE_ENV=production babel --delete-dir-on-start -d dist .",
"remotedebug": "remotedebug_ios_webkit_adapter --port=9000 > /dev/null",
"test": "jest"
"test": "jest",
"rpcrepl": "babel-node util/rpcrepl.js"
},
"dependencies": {
"@discordjs/uws": "^11.149.1",
"@primer/components": "^12.0.0",
"@primer/components": "^12.0.1",
"bufferutil": "^4.0.1",
"chalk": "^2.4.2",
"color": "^3.1.0",
@ -32,7 +33,7 @@
"koa-bodyparser": "^4.2.1",
"koa-session": "^5.10.1",
"kompression": "^1.0.0",
"ksuid": "^1.1.3",
"ksuid": "^1.2.0",
"lru-cache": "^5.1.1",
"moment": "^2.24.0",
"moniker": "^0.1.2",
@ -42,8 +43,8 @@
"pg": "^7.9.0",
"pg-hstore": "^2.3.2",
"primer": "^11.0.0",
"react": "^16.8.4",
"react-dom": "^16.8.4",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-redux": "^6.0.1",
"react-typist": "^2.0.5",
"redux": "^4.0.1",
@ -51,29 +52,33 @@
"redux-thunk": "^2.3.0",
"sequelize": "^5.1.0",
"socket.io": "^2.2.0",
"styled-components": "^4.1.3",
"superagent": "^4.1.0",
"styled-components": "^4.2.0",
"superagent": "^5.0.2",
"zlib-sync": "^0.1.4"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/node": "^7.2.2",
"@babel/core": "^7.4.0",
"@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.0",
"@babel/preset-env": "^7.4.2",
"@babel/preset-flow": "^7.0.0",
"await-outside": "^2.1.2",
"babel-eslint": "^10.0.1",
"babel-plugin-styled-components": "^1.10.0",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"chokidar": "^2.1.2",
"chokidar": "^2.1.5",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.11.2",
"eslint-plugin-flowtype": "^3.4.2",
"flow-bin": "^0.95.1",
"flow-typed": "^2.5.1",
"jest": "^24.5.0",
"npm-run-all": "^4.1.5",
"react-test-renderer": "^16.8.6",
"standard": "12.0.1"
},
"standard": {
@ -84,5 +89,19 @@
"globals": [
"$Shape"
]
},
"jest": {
"projects": [
{
"displayName": "server",
"rootDir": "<rootDir>",
"testPathIgnorePatterns": ["/node_modules/","/ui/"]
}, {
"displayName": "ui",
"rootDir": "<rootDir>/ui",
"setupFiles": ["<rootDir>/setupTests.js"],
"testPathIgnorePatterns": ["/node_modules/", "/.next/"]
}
]
}
}