summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2021-11-12 02:02:25 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2021-11-12 02:02:25 +0900
commit0e4a111f81cceed275d9bec2695f6e401fb654d8 (patch)
tree40874799472fa07416f17b50a398ac33b7771905 /package.json
parentupdate deps (diff)
downloadsharkey-0e4a111f81cceed275d9bec2695f6e401fb654d8.tar.gz
sharkey-0e4a111f81cceed275d9bec2695f6e401fb654d8.tar.bz2
sharkey-0e4a111f81cceed275d9bec2695f6e401fb654d8.zip
refactoring
Resolve #7779
Diffstat (limited to 'package.json')
-rw-r--r--package.json229
1 files changed, 11 insertions, 218 deletions
diff --git a/package.json b/package.json
index 1b0e43e1c3..66d52e578b 100644
--- a/package.json
+++ b/package.json
@@ -6,248 +6,41 @@
"type": "git",
"url": "https://github.com/misskey-dev/misskey.git"
},
- "main": "./index.js",
"private": true,
"scripts": {
- "start": "node --experimental-json-modules ./index.js",
- "start:test": "cross-env NODE_ENV=test node --experimental-json-modules ./index.js",
+ "start": "cd packages/backend && node --experimental-json-modules ./built/index.js",
+ "start:test": "cd packages/backend && cross-env NODE_ENV=test node --experimental-json-modules ./index.js",
"init": "npm run migrate",
- "ormconfig": "node ./built/ormconfig.js",
- "migrate": "ts-node ./node_modules/typeorm/cli.js migration:run",
+ "ormconfig": "node ./packages/backend/ormconfig.js",
+ "migrate": "cd packages/backend && npx typeorm migration:run",
"migrateandstart": "npm run migrate && npm run start",
- "build": "npm run build-webpack && npm run build-ts && npm run build-gulp",
- "build-webpack": "webpack",
- "build-ts": "tsc -p src/tsconfig.json || echo done. && tsc-alias -p src/tsconfig.json",
+ "build": "npm run build-client && npm run build-backend && npm run build-gulp",
+ "build-client": "cd packages/client && npm run build",
+ "build-backend": "cd packages/backend && npm run build",
"build-gulp": "gulp build",
"watch": "concurrently \"npm:watch-*\"",
"watch-webpack": "webpack --watch",
- "watch-ts": "tsc -w -p src/tsconfig.json && tsc-alias -w -p src/tsconfig.json",
+ "watch-ts": "tsc -w -p packages/tsconfig.json && tsc-alias -w -p packages/tsconfig.json",
"watch-gulp": "gulp watch",
"clean": "gulp clean",
"cleanall": "gulp cleanall",
- "lint": "tslint 'src/**/*.ts'",
+ "lint": "tslint 'packages/**/*.ts'",
"cy:open": "cypress open",
"cy:run": "cypress run",
"e2e": "start-server-and-test start:test http://localhost:61812 cy:run",
- "mocha": "cross-env TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true TS_NODE_PROJECT=\"./test/tsconfig.json\" mocha",
+ "mocha": "cd packages/backend && cross-env TS_NODE_FILES=true TS_NODE_TRANSPILE_ONLY=true TS_NODE_PROJECT=\"./test/tsconfig.json\" mocha",
"test": "npm run mocha",
"format": "gulp format"
},
- "resolutions": {
- "chokidar": "^3.3.1",
- "lodash": "^4.17.21"
- },
"dependencies": {
- "@discordapp/twemoji": "13.1.0",
- "@elastic/elasticsearch": "7.11.0",
- "@koa/cors": "3.1.0",
- "@koa/multer": "3.0.0",
- "@koa/router": "9.0.1",
- "@sentry/browser": "5.29.2",
- "@sentry/tracing": "5.29.2",
- "@sinonjs/fake-timers": "7.1.2",
- "@syuilo/aiscript": "0.11.1",
- "@types/bcryptjs": "2.4.2",
- "@types/bull": "3.15.5",
- "@types/cbor": "6.0.0",
- "@types/dateformat": "3.0.1",
- "@types/escape-regexp": "0.0.0",
- "@types/glob": "7.2.0",
"@types/gulp": "4.0.9",
"@types/gulp-rename": "2.0.1",
- "@types/is-url": "1.2.30",
- "@types/js-yaml": "4.0.4",
- "@types/jsdom": "16.2.13",
- "@types/jsonld": "1.5.6",
- "@types/katex": "0.11.1",
- "@types/koa": "2.13.4",
- "@types/koa-bodyparser": "4.3.3",
- "@types/koa-cors": "0.0.2",
- "@types/koa-favicon": "2.0.21",
- "@types/koa-logger": "3.1.2",
- "@types/koa-mount": "4.0.1",
- "@types/koa-send": "4.1.3",
- "@types/koa-views": "7.0.0",
- "@types/koa__cors": "3.0.3",
- "@types/koa__multer": "2.0.4",
- "@types/koa__router": "8.0.8",
- "@types/matter-js": "0.17.6",
- "@types/mocha": "8.2.3",
- "@types/node": "16.11.7",
- "@types/node-fetch": "2.5.12",
- "@types/nodemailer": "6.4.4",
- "@types/nprogress": "0.2.0",
- "@types/oauth": "0.9.1",
- "@types/parse5": "6.0.2",
- "@types/parsimmon": "1.10.6",
- "@types/portscanner": "2.1.1",
- "@types/pug": "2.0.5",
- "@types/punycode": "2.1.0",
- "@types/qrcode": "1.4.1",
- "@types/random-seed": "0.3.3",
- "@types/ratelimiter": "3.4.2",
- "@types/redis": "2.8.32",
- "@types/rename": "1.0.4",
- "@types/request-stats": "3.0.0",
- "@types/rimraf": "3.0.2",
- "@types/seedrandom": "2.4.28",
- "@types/sharp": "0.29.3",
- "@types/sinonjs__fake-timers": "6.0.4",
- "@types/speakeasy": "2.0.6",
- "@types/throttle-debounce": "2.1.0",
- "@types/tinycolor2": "1.4.3",
- "@types/tmp": "0.2.2",
- "@types/uuid": "8.3.1",
- "@types/web-push": "3.3.2",
- "@types/webpack": "5.28.0",
- "@types/webpack-stream": "3.2.12",
- "@types/websocket": "1.0.4",
- "@types/ws": "8.2.0",
- "@typescript-eslint/parser": "5.1.0",
- "@vue/compiler-sfc": "3.2.21",
- "abort-controller": "3.0.0",
- "autobind-decorator": "2.4.0",
- "autosize": "4.0.4",
- "autwh": "0.1.0",
- "aws-sdk": "2.1013.0",
- "bcryptjs": "2.4.3",
- "blurhash": "1.1.4",
- "broadcast-channel": "4.5.0",
- "bull": "4.1.0",
- "cacheable-lookup": "6.0.4",
- "cafy": "15.2.1",
- "cbor": "8.1.0",
- "chalk": "4.1.2",
- "chart.js": "3.6.0",
- "chartjs-adapter-date-fns": "2.0.0",
- "chartjs-plugin-zoom": "1.1.1",
- "cli-highlight": "2.1.11",
- "compare-versions": "3.6.0",
- "concurrently": "6.3.0",
- "content-disposition": "0.5.3",
- "crc-32": "1.2.0",
- "css-loader": "6.5.1",
- "cssnano": "5.0.10",
- "date-fns": "2.25.0",
- "dateformat": "4.5.1",
- "deep-email-validator": "0.1.18",
- "escape-regexp": "0.0.1",
- "eslint": "8.2.0",
- "eslint-plugin-vue": "8.0.3",
- "eventemitter3": "4.0.7",
- "feed": "4.2.2",
- "file-type": "16.5.3",
- "fluent-ffmpeg": "2.1.2",
- "glob": "7.2.0",
- "got": "11.8.2",
"gulp": "4.0.2",
"gulp-cssnano": "2.1.3",
"gulp-rename": "2.0.0",
"gulp-replace": "1.1.3",
"gulp-terser": "2.1.0",
- "gulp-tslint": "8.1.4",
- "hpagent": "0.1.2",
- "http-signature": "1.3.5",
- "idb-keyval": "5.1.3",
- "insert-text-at-cursor": "0.3.0",
- "ip-cidr": "3.0.4",
- "is-svg": "4.3.1",
- "js-yaml": "4.1.0",
- "jsdom": "16.7.0",
- "json5": "2.2.0",
- "json5-loader": "4.0.1",
- "jsonld": "5.2.0",
- "jsrsasign": "8.0.20",
- "katex": "0.13.18",
- "koa": "2.13.4",
- "koa-bodyparser": "4.3.0",
- "koa-favicon": "2.1.0",
- "koa-json-body": "5.3.0",
- "koa-logger": "3.2.1",
- "koa-mount": "4.0.0",
- "koa-send": "5.0.1",
- "koa-slow": "2.1.0",
- "koa-views": "7.0.2",
- "langmap": "0.0.16",
- "matter-js": "0.17.1",
- "mfm-js": "0.20.0",
- "misskey-js": "0.0.8",
- "mocha": "8.4.0",
- "ms": "2.1.3",
- "multer": "1.4.3",
- "nested-property": "4.0.0",
- "node-fetch": "2.6.1",
- "nodemailer": "6.7.0",
- "os-utils": "0.0.14",
- "parse5": "6.0.1",
- "pg": "8.7.1",
- "photoswipe": "git://github.com/dimsemenov/photoswipe#v5-beta",
- "portscanner": "2.2.0",
- "postcss": "8.3.11",
- "postcss-loader": "6.2.0",
- "prismjs": "1.25.0",
- "private-ip": "2.3.3",
- "probe-image-size": "7.2.1",
- "promise-limit": "2.7.0",
- "pug": "3.0.2",
- "punycode": "2.1.1",
- "pureimage": "0.3.5",
- "qrcode": "1.4.4",
- "random-seed": "0.3.0",
- "ratelimiter": "3.4.1",
- "re2": "1.16.0",
- "redis": "3.1.2",
- "redis-lock": "0.1.4",
- "reflect-metadata": "0.1.13",
- "rename": "1.0.4",
- "request-stats": "3.0.0",
- "require-all": "3.0.0",
- "rimraf": "3.0.2",
- "rndstr": "1.0.0",
- "s-age": "1.1.2",
- "sass": "1.43.4",
- "sass-loader": "12.3.0",
- "seedrandom": "3.0.5",
- "sharp": "0.29.2",
- "speakeasy": "2.0.0",
- "strict-event-emitter-types": "2.0.0",
- "stringz": "2.1.0",
- "style-loader": "3.3.1",
- "summaly": "2.4.1",
- "syslog-pro": "1.0.0",
- "systeminformation": "5.9.9",
- "syuilo-password-strength": "0.0.1",
- "textarea-caret": "3.1.0",
- "three": "0.117.1",
- "throttle-debounce": "3.0.1",
- "tinycolor2": "1.4.2",
- "tmp": "0.2.1",
- "ts-loader": "9.2.6",
- "ts-node": "10.4.0",
- "tsc-alias": "1.3.10",
- "tsconfig-paths": "3.11.0",
- "tslint": "6.1.3",
- "tslint-sonarts": "1.9.0",
- "twemoji-parser": "13.1.0",
- "typeorm": "0.2.39",
- "typescript": "4.4.4",
- "ulid": "2.3.0",
- "uuid": "8.3.2",
- "v-debounce": "0.1.2",
- "vanilla-tilt": "1.7.2",
- "vue": "3.2.21",
- "vue-loader": "16.7.0",
- "vue-prism-editor": "2.0.0-alpha.2",
- "vue-router": "4.0.5",
- "vue-style-loader": "4.1.3",
- "vue-svg-loader": "0.17.0-beta.2",
- "vuedraggable": "4.0.1",
- "web-push": "3.4.5",
- "webpack": "5.63.0",
- "webpack-cli": "4.9.1",
- "websocket": "1.0.34",
- "ws": "8.2.3",
- "xev": "2.0.1"
+ "gulp-tslint": "8.1.4"
},
"devDependencies": {
"@redocly/openapi-core": "1.0.0-beta.54",