Commit c4b59b2d authored by Jure's avatar Jure

chore: remove typescript support for now

parent aa250b59
......@@ -17,11 +17,11 @@
"@pubsweet/default-theme": "4.1.2",
"@pubsweet/job-xsweet": "^1.2.7",
"@pubsweet/logger": "^0.2.18",
"@pubsweet/model-blog": "^0.0.16",
"@pubsweet/model-blogpost": "^0.0.16",
"@pubsweet/model-blog": "^0.0.23",
"@pubsweet/model-blogpost": "^0.0.23",
"@pubsweet/model-team": "^2.0.5",
"@pubsweet/model-user": "^4.0.5",
"@pubsweet/models": "0.2.10",
"@pubsweet/model-user": "^5.1.0",
"@pubsweet/models": "0.2.17",
"@pubsweet/ui": "^10.2.0",
"authsome": "^0.1.0",
"mini-css-extract-plugin": "^0.5.0",
......@@ -71,6 +71,7 @@
"joi-browser": "^13.0.1",
"json-loader": "^0.5.4",
"lint-staged": "^6.1.0",
"node-dev": "^4.0.0",
"node-sass": "^4.5.2",
"objection": "^1.3.0",
"prettier": "^1.10.2",
......@@ -81,8 +82,6 @@
"style-loader": "^0.23.1",
"testcafe": "^0.23.3",
"testcafe-react-selectors": "^3.0.0",
"ts-node-dev": "^1.0.0-pre.40",
"typescript": "^3.5.3",
"url-loader": "^1.1.2",
"webpack": "^4.29.6",
"webpack-cli": "^3.3.6",
......@@ -93,8 +92,8 @@
"lint": "eslint --ext js,jsx app config test webpack",
"start": "docker-compose up",
"start:services": "docker-compose up db",
"start:client": "webpack-dev-server --config webpack/webpack.development.config.js",
"start:server": "ts-node-dev -P tsconfig.server.js server/start.ts",
"start:client": "pubsweet start:client",
"start:server": "pubsweet start:server",
"seed": "node scripts/seed.js",
"precommit": "lint-staged",
"test": "NODE_ENV=test NODE_PRESERVE_SYMLINKS=1 testcafe chrome 'test/**/*.test.js'"
......
The started application's server is entirely composed out of components (see `config/components.json`), so this folder is empty.
You can put your custom server components here (see the docs at https://pubsweet.coko.foundation/ for more information).
const { startServer } = require('pubsweet-server')
startServer()
{
"extends": "./tsconfig.json",
"exclude": ["server/"]
}
{
"compilerOptions": {
"module": "commonjs",
// "declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es2017",
"sourceMap": true,
"outDir": "./server/dist",
"baseUrl": "./",
"allowJs": true,
"incremental": true
}
// "exclude": ["node_modules"]
}
{
"extends": "./tsconfig.json",
"exclude": ["client/", "server/dist/"]
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment