mirror of
https://github.com/usatiuk/writer.git
synced 2025-10-28 16:07:49 +01:00
cleanup package.json
This commit is contained in:
77
.eslintrc.js
77
.eslintrc.js
@@ -1,41 +1,36 @@
|
||||
module.exports = {
|
||||
root: true,
|
||||
parser: "@typescript-eslint/parser",
|
||||
plugins: ["@typescript-eslint", "prettier", "import", "react", "react-hooks"],
|
||||
extends: [
|
||||
"eslint:recommended",
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
"prettier/@typescript-eslint",
|
||||
"plugin:react-hooks/recommended",
|
||||
"plugin:react/recommended",
|
||||
"plugin:import/errors",
|
||||
"plugin:import/warnings",
|
||||
"plugin:import/typescript"
|
||||
],
|
||||
env: {
|
||||
browser: true,
|
||||
node: true
|
||||
},
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 6,
|
||||
"ecmaFeatures": {
|
||||
"jsx": true
|
||||
},
|
||||
"sourceType": "module"
|
||||
},
|
||||
"settings": {
|
||||
"import/parsers": {
|
||||
"@typescript-eslint/parser": [".ts", ".tsx"]
|
||||
},
|
||||
"import/resolver": {
|
||||
"typescript": {
|
||||
"alwaysTryTypes": true,
|
||||
"project": [
|
||||
"./tsconfig.json",
|
||||
"./frontend/tsconfig.json"
|
||||
]
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
module.exports = {
|
||||
root: true,
|
||||
parser: "@typescript-eslint/parser",
|
||||
plugins: ["@typescript-eslint", "prettier", "import"],
|
||||
extends: [
|
||||
"eslint:recommended",
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
"prettier/@typescript-eslint",
|
||||
"plugin:import/errors",
|
||||
"plugin:import/warnings",
|
||||
"plugin:import/typescript"
|
||||
],
|
||||
env: {
|
||||
browser: true,
|
||||
node: true
|
||||
},
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 6,
|
||||
"sourceType": "module"
|
||||
},
|
||||
"settings": {
|
||||
"import/parsers": {
|
||||
"@typescript-eslint/parser": [".ts", ".tsx"]
|
||||
},
|
||||
"import/resolver": {
|
||||
"typescript": {
|
||||
"alwaysTryTypes": true,
|
||||
"project": [
|
||||
"./tsconfig.json",
|
||||
"./frontend/tsconfig.json"
|
||||
]
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
@@ -1,6 +1,14 @@
|
||||
module.exports = {
|
||||
plugins: ["jest"],
|
||||
extends: [
|
||||
'plugin:jest/recommended',
|
||||
],
|
||||
};
|
||||
module.exports = {
|
||||
plugins: ["jest", "react", "react-hooks"],
|
||||
extends: [
|
||||
'plugin:jest/recommended',
|
||||
"plugin:react-hooks/recommended",
|
||||
"plugin:react/recommended",
|
||||
|
||||
],
|
||||
"parserOptions": {
|
||||
"ecmaFeatures": {
|
||||
"jsx": true
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
2002
frontend/package-lock.json
generated
2002
frontend/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -7,31 +7,35 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/autoprefixer": "^9.7.2",
|
||||
"@types/enzyme": "^3.10.5",
|
||||
"@types/enzyme": "^3.10.7",
|
||||
"@types/enzyme-adapter-react-16": "^1.0.6",
|
||||
"@types/highlight.js": "^9.12.4",
|
||||
"@types/jest": "^26.0.9",
|
||||
"@types/jest": "^26.0.14",
|
||||
"@types/parcel-bundler": "^1.12.1",
|
||||
"@types/react": "^16.9.46",
|
||||
"@types/react": "^16.9.51",
|
||||
"@types/react-dom": "^16.9.8",
|
||||
"@types/react-redux": "^7.1.9",
|
||||
"@types/react-router": "^5.1.8",
|
||||
"@types/react-router-dom": "^5.1.5",
|
||||
"@types/react-router-dom": "^5.1.6",
|
||||
"@types/sass": "^1.16.0",
|
||||
"autoprefixer": "^9.8.6",
|
||||
"autoprefixer": "^10.0.1",
|
||||
"enzyme": "^3.11.0",
|
||||
"enzyme-adapter-react-16": "^1.15.3",
|
||||
"jest": "^26.4.0",
|
||||
"enzyme-adapter-react-16": "^1.15.5",
|
||||
"jest": "^26.5.2",
|
||||
"parcel-bundler": "^1.12.4",
|
||||
"postcss-modules": "^3.2.0",
|
||||
"postcss-modules": "^3.2.2",
|
||||
"redux-devtools-extension": "^2.13.8",
|
||||
"sass": "^1.26.10",
|
||||
"ts-jest": "^26.2.0"
|
||||
"eslint-plugin-react": "^7.21.3",
|
||||
"eslint-plugin-react-hooks": "^4.1.2",
|
||||
"eslint-plugin-jest": "^24.1.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.3.1",
|
||||
"sass": "^1.26.12",
|
||||
"ts-jest": "^26.4.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blueprintjs/core": "^3.31.0",
|
||||
"@blueprintjs/icons": "^3.20.1",
|
||||
"highlight.js": "^10.1.2",
|
||||
"@blueprintjs/core": "^3.33.0",
|
||||
"@blueprintjs/icons": "^3.22.0",
|
||||
"highlight.js": "^10.2.1",
|
||||
"react": "^16.13.1",
|
||||
"react-dom": "^16.13.1",
|
||||
"react-markdown": "^4.3.1",
|
||||
|
||||
1328
package-lock.json
generated
1328
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
51
package.json
51
package.json
@@ -2,43 +2,39 @@
|
||||
"name": "writer-backend",
|
||||
"devDependencies": {
|
||||
"@types/bcrypt": "^3.0.0",
|
||||
"@types/chai": "^4.2.12",
|
||||
"@types/chai": "^4.2.13",
|
||||
"@types/concurrently": "^5.2.1",
|
||||
"@types/eslint": "^7.2.0",
|
||||
"@types/eslint": "^7.2.3",
|
||||
"@types/eslint-plugin-prettier": "^3.1.0",
|
||||
"@types/jsonwebtoken": "^8.5.0",
|
||||
"@types/koa": "^2.11.3",
|
||||
"@types/koa": "^2.11.4",
|
||||
"@types/koa-logger": "^3.1.1",
|
||||
"@types/koa-router": "^7.4.1",
|
||||
"@types/koa-send": "^4.1.2",
|
||||
"@types/koa-sslify": "^4.0.1",
|
||||
"@types/koa-static": "^4.0.1",
|
||||
"@types/koa__cors": "^3.0.1",
|
||||
"@types/lodash": "^4.14.159",
|
||||
"@types/mocha": "^8.0.2",
|
||||
"@types/koa__cors": "^3.0.2",
|
||||
"@types/lodash": "^4.14.161",
|
||||
"@types/mocha": "^8.0.3",
|
||||
"@types/mysql": "^2.15.15",
|
||||
"@types/node": "^14.0.27",
|
||||
"@types/prettier": "^2.0.2",
|
||||
"@types/node": "^14.11.5",
|
||||
"@types/prettier": "^2.1.1",
|
||||
"@types/supertest": "^2.0.10",
|
||||
"@typescript-eslint/eslint-plugin": "^3.9.0",
|
||||
"@typescript-eslint/parser": "^3.9.0",
|
||||
"@typescript-eslint/eslint-plugin": "^4.4.0",
|
||||
"@typescript-eslint/parser": "^4.4.0",
|
||||
"chai": "^4.2.0",
|
||||
"eslint": "^7.6.0",
|
||||
"eslint": "^7.10.0",
|
||||
"eslint-config-airbnb": "^18.2.0",
|
||||
"eslint-config-prettier": "^6.11.0",
|
||||
"eslint-import-resolver-typescript": "^2.2.0",
|
||||
"eslint-plugin-import": "^2.22.0",
|
||||
"eslint-plugin-jest": "^23.20.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.3.1",
|
||||
"eslint-config-prettier": "^6.12.0",
|
||||
"eslint-import-resolver-typescript": "^2.3.0",
|
||||
"eslint-plugin-import": "^2.22.1",
|
||||
"eslint-plugin-mocha": "^8.0.0",
|
||||
"eslint-plugin-prettier": "^3.1.4",
|
||||
"eslint-plugin-react": "^7.20.6",
|
||||
"eslint-plugin-react-hooks": "^4.0.8",
|
||||
"husky": "^4.2.5",
|
||||
"mocha": "^8.1.1",
|
||||
"prettier": "^2.0.5",
|
||||
"supertest": "^4.0.2",
|
||||
"ts-node-dev": "^1.0.0-pre.57"
|
||||
"husky": "^4.3.0",
|
||||
"mocha": "^8.1.3",
|
||||
"prettier": "^2.1.2",
|
||||
"supertest": "^5.0.0",
|
||||
"ts-node-dev": "^1.0.0-pre.63"
|
||||
},
|
||||
"dependencies": {
|
||||
"@koa/cors": "^3.1.0",
|
||||
@@ -57,10 +53,10 @@
|
||||
"lodash": "^4.17.20",
|
||||
"mysql": "^2.18.1",
|
||||
"reflect-metadata": "^0.1.13",
|
||||
"ts-node": "8.10.2",
|
||||
"ts-node": "9.0.0",
|
||||
"tsconfig-paths": "^3.9.0",
|
||||
"typeorm": "0.2.25",
|
||||
"typescript": "^3.9.7"
|
||||
"typeorm": "0.2.28",
|
||||
"typescript": "^4.0.3"
|
||||
},
|
||||
"cacheDirectories": [
|
||||
"frontend/node_modules",
|
||||
@@ -69,7 +65,6 @@
|
||||
"scripts": {
|
||||
"ts-node-dev": "ts-node-dev -r tsconfig-paths/register src/server.ts",
|
||||
"start": "ts-node -T -r tsconfig-paths/register src/server.ts",
|
||||
"prod-start": "cross-env NODE_ENV=development npm start",
|
||||
"build-frontend": "cd frontend && npm i && npm i --only dev && npm run build",
|
||||
"build-backend": "npm i",
|
||||
"build": "npm run build-backend && npm run build-frontend",
|
||||
@@ -84,4 +79,4 @@
|
||||
"pre-push": "npm test && cd frontend && npm test"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user