feat: clear depts

This commit is contained in:
cudr 2019-10-22 23:41:04 +03:00
parent 8c80a52068
commit 7b89a5c07e
5 changed files with 24 additions and 14 deletions

View File

@ -7,10 +7,11 @@ env:
- workerCount=3 timeout=600000
script:
- npm run test
- yarn test
install:
- npm run bootstrap
- yarn
- yarn bootstrap
cache:
directories:

View File

@ -8,13 +8,19 @@
"dev": "concurrently \"yarn watch\" \"lerna run dev --stream\"",
"build": "lerna run build --stream",
"watch": "lerna run --parallel watch",
"clean:module": "lerna clean --yes",
"prebuild": "rm -rf ./packages/**/lib/",
"test": "lerna run test --stream",
"test": "lerna run test --stream",
"format": "prettier --write"
},
"workspaces": [
"packages/*"
],
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"**/jest"
]
},
"author": "cudr",
"license": "MIT",
"husky": {

View File

@ -5,8 +5,8 @@
"dependencies": {
"@emotion/core": "^10.0.17",
"@emotion/styled": "^10.0.17",
"@slate-collaborative/backend": "0.0.2",
"@slate-collaborative/client": "0.0.2",
"@slate-collaborative/backend": "^0.0.2",
"@slate-collaborative/client": "^0.0.2",
"@types/faker": "^4.1.5",
"@types/jest": "24.0.18",
"@types/node": "12.7.5",
@ -27,6 +27,7 @@
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"dev": "concurrently \"yarn start\" \"yarn serve\"",
"serve": "nodemon --watch ../backend/lib --inspect server.js"
},

View File

@ -2,7 +2,6 @@
"include": [
"src/**/*"
],
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"target": "es5",
"lib": [
@ -23,6 +22,12 @@
"resolveJsonModule": true,
"noEmit": true,
"isolatedModules": true,
"skipLibCheck": true
"skipLibCheck": true,
"noImplicitAny": false,
"removeComments": true,
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"sourceMap": true
}
}

View File

@ -11,9 +11,6 @@
"experimentalDecorators": true,
"target": "es5",
"sourceMap": true,
"lib": ["es6", "es5"],
"paths": {
"@slate-collaborative/*": ["packages/*/src"]
}
"lib": ["es6", "es5"]
}
}