|
29 | 29 | },
|
30 | 30 | "homepage": "https://github.com/OpenMined/syft.js#readme",
|
31 | 31 | "scripts": {
|
32 |
| - "start": "rollup -cw", |
33 |
| - "build": "rollup -c", |
| 32 | + "start": "npm run lint && rollup -cw", |
| 33 | + "build": "npm run lint && rollup -c", |
34 | 34 | "prepare": "npm run build",
|
35 |
| - "test": "jest --coverage", |
36 |
| - "test:watch": "jest --watch", |
| 35 | + "test": "npm run lint && jest --coverage", |
| 36 | + "test:watch": "npm run lint && jest --watch", |
37 | 37 | "version": "auto-changelog -p && git add CHANGELOG.md",
|
38 | 38 | "release": "np",
|
39 |
| - "deploy": "./copy-examples.sh && gh-pages -d tmp && rm -rf tmp" |
| 39 | + "deploy": "./copy-examples.sh && gh-pages -d tmp && rm -rf tmp", |
| 40 | + "lint": "eslint ." |
40 | 41 | },
|
41 | 42 | "types": "src/types/index.d.ts",
|
42 | 43 | "browserslist": "> 0.25%, not dead",
|
|
65 | 66 | "@tensorflow/tfjs-core": "^1.2.5"
|
66 | 67 | },
|
67 | 68 | "devDependencies": {
|
68 |
| - "@babel/core": "^7.7.7", |
69 |
| - "@babel/plugin-proposal-class-properties": "^7.7.4", |
| 69 | + "@babel/core": "^7.8.6", |
| 70 | + "@babel/plugin-proposal-class-properties": "^7.8.3", |
70 | 71 | "@babel/plugin-transform-runtime": "^7.8.3",
|
71 |
| - "@babel/preset-env": "^7.7.7", |
| 72 | + "@babel/preset-env": "^7.8.6", |
72 | 73 | "@babel/runtime": "^7.8.4",
|
73 | 74 | "@joseph184/rollup-plugin-node-builtins": "^2.1.4",
|
74 | 75 | "@tensorflow/tfjs-core": "^1.2.5",
|
75 | 76 | "auto-changelog": "^1.16.2",
|
| 77 | + "babel-eslint": "^10.1.0", |
76 | 78 | "babel-jest": "^24.9.0",
|
77 |
| - "gh-pages": "^2.1.1", |
| 79 | + "eslint": "^6.8.0", |
| 80 | + "eslint-config-standard": "^14.1.0", |
| 81 | + "eslint-plugin-import": "^2.20.1", |
| 82 | + "eslint-plugin-node": "^11.0.0", |
| 83 | + "eslint-plugin-promise": "^4.2.1", |
| 84 | + "eslint-plugin-standard": "^4.0.1", |
| 85 | + "gh-pages": "^2.2.0", |
78 | 86 | "husky": "^3.1.0",
|
79 | 87 | "jest": "^24.9.0",
|
80 |
| - "mock-socket": "^9.0.2", |
| 88 | + "mock-socket": "^9.0.3", |
81 | 89 | "np": "^5.2.1",
|
82 | 90 | "prettier": "^1.19.1",
|
83 | 91 | "pretty-quick": "^2.0.1",
|
84 | 92 | "regenerator-runtime": "^0.13.3",
|
85 |
| - "rollup": "^1.27.14", |
| 93 | + "rollup": "^1.32.0", |
86 | 94 | "rollup-plugin-babel": "^4.3.3",
|
87 | 95 | "rollup-plugin-commonjs": "^10.1.0",
|
88 | 96 | "rollup-plugin-filesize": "^6.2.1",
|
89 | 97 | "rollup-plugin-json": "^4.0.0",
|
90 | 98 | "rollup-plugin-node-resolve": "^5.2.0",
|
91 |
| - "rollup-plugin-peer-deps-external": "^2.2.0" |
| 99 | + "rollup-plugin-peer-deps-external": "^2.2.2" |
92 | 100 | }
|
93 | 101 | }
|
0 commit comments