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