|
8 | 8 | "build": "yarn clean && yarn typecheck && yarn bundle", |
9 | 9 | "bundle": "rollup -c rollup.config.ts", |
10 | 10 | "clean": "rimraf ./dist ./compiled", |
11 | | - "typecheck": "tsc --noEmit", |
| 11 | + "typecheck": "tsc -p ./tsconfig.build.json ", |
12 | 12 | "test": "jest --notify --watch", |
13 | 13 | "test:coverage": "jest --coverage", |
14 | 14 | "test-ci": "grafana-toolkit plugin:test" |
15 | 15 | }, |
| 16 | + "publishConfig": { |
| 17 | + "main": "dist/index.js", |
| 18 | + "module": "dist/esm/index.js", |
| 19 | + "types": "dist/index.d.ts", |
| 20 | + "access": "public" |
| 21 | + }, |
16 | 22 | "files": [ |
17 | 23 | "index.js", |
18 | 24 | "dist" |
19 | 25 | ], |
20 | 26 | "repository": "github:grafana/grafana-async-query-support", |
21 | 27 | "author": "Grafana Labs <team@grafana.com> (https://grafana.com)", |
22 | 28 | "license": "Apache-2.0", |
23 | | - "dependencies": {}, |
| 29 | + "dependencies": { |
| 30 | + "tslib": "^2.4.1" |
| 31 | + }, |
24 | 32 | "devDependencies": { |
25 | 33 | "@babel/preset-env": "^7.13.12", |
26 | 34 | "@babel/preset-react": "^7.13.13", |
|
29 | 37 | "@grafana/runtime": "8.4.7", |
30 | 38 | "@grafana/toolkit": "8.4.7", |
31 | 39 | "@grafana/ui": "8.4.7", |
32 | | - "@rollup/plugin-commonjs": "11.0.2", |
33 | | - "@rollup/plugin-json": "4.0.3", |
34 | | - "@rollup/plugin-node-resolve": "7.1.1", |
| 40 | + "@rollup/plugin-node-resolve": "^15.0.1", |
35 | 41 | "@testing-library/jest-dom": "^5.11.10", |
36 | 42 | "@testing-library/react": "^11.2.5", |
37 | 43 | "@testing-library/react-hooks": "^5.1.0", |
|
47 | 53 | "@types/rollup-plugin-visualizer": "2.6.0", |
48 | 54 | "@types/sinon": "^7.5.2", |
49 | 55 | "babel-jest": "^26.6.3", |
| 56 | + "esbuild": "^0.15.13", |
50 | 57 | "jest": "^26.6.3", |
51 | 58 | "pretty-format": "25.1.0", |
52 | 59 | "react-select-event": "^5.3.0", |
53 | 60 | "react-test-renderer": "^17.0.2", |
54 | 61 | "rimraf": "^3.0.2", |
55 | | - "rollup": "2.0.6", |
56 | | - "rollup-plugin-sourcemaps": "0.5.0", |
57 | | - "rollup-plugin-terser": "5.3.0", |
58 | | - "rollup-plugin-typescript2": "^0.29.0", |
59 | | - "rollup-plugin-visualizer": "3.3.1", |
| 62 | + "rollup": "^2.79.1", |
| 63 | + "rollup-plugin-dts": "^5.0.0", |
| 64 | + "rollup-plugin-esbuild": "^4.10.1", |
| 65 | + "rollup-plugin-node-externals": "^5.0.2", |
60 | 66 | "sinon": "8.1.1" |
61 | 67 | }, |
62 | 68 | "resolutions": { |
|
0 commit comments