Skip to content

Commit

Permalink
Merge pull request #115 from JupiterOne/no-card-remove-type-module
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoepfeiffer authored Sep 13, 2023
2 parents 5397450 + 9250180 commit e0456c5
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 29 deletions.
12 changes: 0 additions & 12 deletions bin/buildJSON.js

This file was deleted.

5 changes: 0 additions & 5 deletions deploy/Dockerfile

This file was deleted.

7 changes: 0 additions & 7 deletions deploy/package.json

This file was deleted.

6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
{
"name": "@jupiterone/insights-dashboards",
"version": "3.7.8",
"version": "4.0.0",
"license": "UNLICENSED",
"description": "JupiterOne Insights Dashboards",
"main": "insights-dashboards.js",
"module": "insights-dashboards.es5.js",
"typings": "insights-dashboards.d.ts",
"type": "module",
"scripts": {
"build": "rimraf dist && yarn build:types && rollup -c",
"build": "rimraf dist && rollup -c",
"deploy": "jupiterone-manual-deploy -t jupiterone-dev -a apply",
"destroy": "jupiterone-manual-deploy -t jupiterone-dev -a destroy",
"plan": "jupiterone-manual-deploy -t jupiterone-dev -a plan",
"build:types": "tsc --module commonjs",
"typecheck": "tsc --noEmit"
},
"devDependencies": {
Expand Down
5 changes: 4 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ const pkg = require("./package.json");

export default {
input: "src/index.ts",
output: [{ file: `dist/${pkg.module}`, format: "es", sourcemap: true }],
output: [
{ file: `dist/${pkg.module}`, format: "es" },
{ file: `dist/${pkg.main}`, format: "cjs" },
],
// Indicate here external modules you don't wanna include in your bundle (i.e.: 'lodash')
external: [],
watch: {
Expand Down

0 comments on commit e0456c5

Please sign in to comment.