feat: clear depts

pull/4/head
cudr 5 years ago
parent 8c80a52068
commit 6ec91963c6

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

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

@ -5,8 +5,8 @@
"dependencies": { "dependencies": {
"@emotion/core": "^10.0.17", "@emotion/core": "^10.0.17",
"@emotion/styled": "^10.0.17", "@emotion/styled": "^10.0.17",
"@slate-collaborative/backend": "0.0.2", "@slate-collaborative/backend": "^0.0.2",
"@slate-collaborative/client": "0.0.2", "@slate-collaborative/client": "^0.0.2",
"@types/faker": "^4.1.5", "@types/faker": "^4.1.5",
"@types/jest": "24.0.18", "@types/jest": "24.0.18",
"@types/node": "12.7.5", "@types/node": "12.7.5",
@ -20,14 +20,16 @@
"randomcolor": "^0.5.4", "randomcolor": "^0.5.4",
"react": "^16.9.0", "react": "^16.9.0",
"react-dom": "^16.9.0", "react-dom": "^16.9.0",
"react-scripts": "3.1.1", "react-scripts": "3.1.2",
"slate": "^0.47.8", "slate": "^0.47.8",
"slate-react": "^0.22.8", "slate-react": "^0.22.8",
"typescript": "3.6.3" "typescript": "3.6.3"
}, },
"scripts": { "scripts": {
"start": "react-scripts start", "start": "node server.js",
"dev": "concurrently \"yarn start\" \"yarn serve\"", "start:cra": "react-scripts start",
"build": "react-scripts build",
"dev": "concurrently \"yarn start:cra\" \"yarn serve\"",
"serve": "nodemon --watch ../backend/lib --inspect server.js" "serve": "nodemon --watch ../backend/lib --inspect server.js"
}, },
"eslintConfig": { "eslintConfig": {

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

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

Loading…
Cancel
Save