|
12 | 12 | "@babel/plugin-transform-runtime": "7.7.4", |
13 | 13 | "@babel/preset-env": "7.7.4", |
14 | 14 | "@babel/preset-typescript": "7.7.4", |
| 15 | + "@typescript-eslint/parser": "2.20.0", |
15 | 16 | "babel-eslint": "10.0.3", |
16 | 17 | "babel-plugin-dynamic-import-node": "2.3.0", |
17 | 18 | "babel-plugin-macros": "2.7.1", |
18 | 19 | "chalk": "2.4.2", |
19 | 20 | "coveralls": "3.0.9", |
20 | | - "eslint": "6.2.2", |
| 21 | + "eslint": "6.8.0", |
| 22 | + "eslint-plugin-import": "2.18.2", |
21 | 23 | "find-up": "4.1.0", |
22 | 24 | "form-data": "2.5.1", |
23 | 25 | "fs-extra": "8.1.0", |
|
27 | 29 | "npm-run-all": "4.1.5", |
28 | 30 | "nyc": "13.1.0", |
29 | 31 | "rimraf": "3.0.0", |
30 | | - "semver": "5.6.0" |
| 32 | + "semver": "5.6.0", |
| 33 | + "typescript": "3.7.2" |
31 | 34 | }, |
32 | 35 | "engines": { |
33 | 36 | "node": ">=10.17.0", |
|
42 | 45 | "build:no-ui": "npm run build -- --ignore embark-ui", |
43 | 46 | "ci": "node scripts/monorun --ignore embark-dapp-* --stream ci", |
44 | 47 | "ci:dapps": "lerna run --concurrency=1 --scope embark-dapp-* --stream ci", |
45 | | - "ci:full": "npm-run-all cwtree typecheck \"lint -- --concurrency={1}\" build:no-ui \"test -- --concurrency={1}\" ci:dapps cwtree -- 1", |
| 48 | + "ci:full": "npm-run-all cylock cwtree typecheck lint build:no-ui \"test -- --concurrency={1}\" ci:dapps cwtree -- 1", |
46 | 49 | "clean": "node scripts/monorun --stream clean", |
47 | 50 | "clean:full": "npx npm-run-all clean clean:top", |
48 | 51 | "clean:top": "npm run reset:top && npx rimraf node_modules", |
|
52 | 55 | "coverage:report": "node scripts/coverage-report", |
53 | 56 | "coveralls": "npm-run-all coverage:collect coverage:coveralls", |
54 | 57 | "cwtree": "node scripts/check-working-tree", |
| 58 | + "cylock": "node scripts/check-yarn-lock", |
55 | 59 | "deploy:site": "node site/deploy-site", |
56 | 60 | "globalize": "node scripts/globalize", |
57 | | - "lint": "node scripts/monorun --parallel lint", |
| 61 | + "lint": "npm-run-all lint:*", |
| 62 | + "lint:packages": "node scripts/monorun --parallel lint", |
| 63 | + "lint:top": "eslint *.js scripts/", |
58 | 64 | "package": "lerna exec --concurrency=1 --no-private --stream -- npm pack", |
59 | 65 | "postclean": "npx lerna clean --yes", |
60 | 66 | "postreboot": "yarn install", |
|
63 | 69 | "preqa:full": "yarn install", |
64 | 70 | "qa": "node scripts/monorun --ignore embark-dapp-* --stream qa", |
65 | 71 | "qa:dapps": "lerna run --concurrency=1 --scope embark-dapp-* --stream qa", |
66 | | - "qa:full": "npm-run-all cwtree reboot:full cwtree typecheck \"lint -- --concurrency={1}\" build \"test -- --concurrency={1}\" qa:dapps cwtree -- 1", |
| 72 | + "qa:full": "npm-run-all cylock cwtree reboot:full cwtree typecheck lint build \"test -- --concurrency={1}\" qa:dapps cwtree -- 1", |
67 | 73 | "reboot": "npm run clean", |
68 | 74 | "reboot:full": "npm run clean:full", |
69 | 75 | "release": "node scripts/release", |
|
84 | 90 | "watch:test": "node scripts/monorun --ignore embark-dapp-* --parallel watch:test", |
85 | 91 | "watch:typecheck": "node scripts/monorun --parallel watch:typecheck" |
86 | 92 | }, |
| 93 | + "eslintConfig": { |
| 94 | + "extends": "./.eslintrc.json" |
| 95 | + }, |
87 | 96 | "workspaces": { |
88 | 97 | "packages": [ |
89 | 98 | "dapps/templates/*", |
|
0 commit comments