|
14 | 14 | "test": "node src test",
|
15 | 15 | "test:update": "node src test --updateSnapshot",
|
16 | 16 | "build": "run-p build:*",
|
17 |
| - "build:source": "node src build", |
| 17 | + "build:source": "babel --source-maps --out-dir dist --ignore '**/__tests__/**','**/__mocks__/**' --copy-files --no-copy-ignored src", |
18 | 18 | "build:types": "tsc -p src/",
|
19 | 19 | "lint": "node src lint",
|
20 | 20 | "format": "node src format",
|
|
34 | 34 | "files": [
|
35 | 35 | "api",
|
36 | 36 | "api.d.ts",
|
37 |
| - "api.js", |
38 |
| - "babel.js", |
| 37 | + "dist", |
39 | 38 | "commitlint.js",
|
40 | 39 | "config.js",
|
41 | 40 | "dist",
|
42 | 41 | "eslint-react.js",
|
43 |
| - "eslint.js", |
| 42 | + "eslint", |
44 | 43 | "jest.js",
|
45 | 44 | "lint-staged.js",
|
46 | 45 | "prettier.js",
|
|
51 | 50 | "author": "Jamie Rolfs <[email protected]>",
|
52 | 51 | "license": "MIT",
|
53 | 52 | "dependencies": {
|
54 |
| - "@babel/cli": "^7.11.6", |
55 |
| - "@babel/core": "^7.11.6", |
56 |
| - "@babel/plugin-proposal-class-properties": "^7.8.3", |
57 |
| - "@babel/plugin-transform-modules-commonjs": "^7.8.3", |
58 |
| - "@babel/plugin-transform-runtime": "^7.12.1", |
59 |
| - "@babel/preset-env": "^7.11.5", |
60 |
| - "@babel/preset-flow": "^7.8.3", |
61 |
| - "@babel/preset-react": "^7.8.3", |
62 |
| - "@babel/runtime": "^7.11.2", |
63 | 53 | "@commitlint/cli": "^11.0.0",
|
64 | 54 | "@commitlint/config-conventional": "^11.0.0",
|
65 | 55 | "@commitlint/prompt": "^11.0.0",
|
66 |
| - "@rollup/plugin-commonjs": "^15.0.0", |
67 |
| - "@rollup/plugin-json": "^4.0.2", |
68 |
| - "@rollup/plugin-node-resolve": "^7.1.1", |
69 |
| - "@rollup/plugin-replace": "^2.3.1", |
70 | 56 | "@types/jest": "^26.0.14",
|
71 | 57 | "@typescript-eslint/eslint-plugin": "^4.4.0",
|
72 | 58 | "@typescript-eslint/parser": "^4.4.0",
|
73 | 59 | "arrify": "^2.0.1",
|
74 |
| - "babel-jest": "^26.3.0", |
75 |
| - "babel-plugin-macros": "^2.8.0", |
76 |
| - "babel-plugin-minify-dead-code-elimination": "^0.5.1", |
77 |
| - "babel-plugin-module-resolver": "^4.0.0", |
78 |
| - "babel-plugin-transform-inline-environment-variables": "^0.4.3", |
79 |
| - "babel-plugin-transform-react-remove-prop-types": "^0.4.24", |
80 |
| - "browserslist": "^4.14.5", |
81 | 60 | "chalk": "^4.1.0",
|
82 | 61 | "commitizen": "^4.2.1",
|
83 | 62 | "concurrently": "^5.1.0",
|
|
109 | 88 | "read-pkg-up": "^7.0.1",
|
110 | 89 | "resolve": "^1.15.1",
|
111 | 90 | "rimraf": "^3.0.2",
|
112 |
| - "rollup": "^2.26.4", |
113 |
| - "rollup-plugin-babel": "^4.3.3", |
114 |
| - "rollup-plugin-node-builtins": "^2.1.2", |
115 |
| - "rollup-plugin-node-globals": "^1.4.0", |
116 |
| - "rollup-plugin-size-snapshot": "^0.12.0", |
117 |
| - "rollup-plugin-terser": "^7.0.2", |
118 | 91 | "semver": "^7.1.3",
|
119 | 92 | "typescript": "^4.0.3",
|
120 | 93 | "which": "^2.0.2",
|
|
148 | 121 | },
|
149 | 122 | "homepage": "https://github.com/hoverinc/hover-javascript#readme",
|
150 | 123 | "devDependencies": {
|
| 124 | + "@babel/cli": "^7.11.6", |
| 125 | + "@babel/core": "^7.11.6", |
| 126 | + "@babel/preset-env": "^7.11.5", |
| 127 | + "babel-jest": "^26.5.2", |
151 | 128 | "jest-in-case": "^1.0.2",
|
152 | 129 | "npm-run-all": "^4.1.5",
|
153 | 130 | "slash": "^3.0.0"
|
|
0 commit comments