@fanoutio/grip
Advanced tools
Comparing version 3.0.0-beta.6 to 3.0.0-beta.7
@@ -5,3 +5,5 @@ export default interface IItemExport { | ||
'prev-id'?: string; | ||
[format: string]: any; | ||
formats: { | ||
[format: string]: object; | ||
}; | ||
} |
@@ -29,3 +29,3 @@ "use strict"; | ||
var obj = { | ||
exports: {}, | ||
formats: {}, | ||
}; | ||
@@ -46,3 +46,3 @@ if (this.id != null) { | ||
alreadyUsedFormatNames.add(name_1); | ||
obj[name_1] = format.export(); | ||
obj.formats[name_1] = format.export(); | ||
} | ||
@@ -49,0 +49,0 @@ return obj; |
{ | ||
"name": "@fanoutio/grip", | ||
"version": "3.0.0-beta.6", | ||
"version": "3.0.0-beta.7", | ||
"author": "Fanout, Inc. <info@fanout.io>", | ||
@@ -17,5 +17,7 @@ "description": "GRIP Interface Library", | ||
"main": "./build/main.js", | ||
"module": "./build-esm/main.js", | ||
"files": [ | ||
"browser/**/*", | ||
"build/**/*", | ||
"build-esm/**/*", | ||
"types/**/*" | ||
@@ -26,10 +28,14 @@ ], | ||
"prepublishOnly": "npm run test && npm run lint && npm run build", | ||
"build": "npm run build-commonjs && npm run build-browser", | ||
"build": "npm run build-commonjs && npm run build-esm && npm run build-browser", | ||
"build-commonjs": "npm run build-commonjs:clean && npm run build-commonjs:build", | ||
"build-commonjs:clean": "rimraf build", | ||
"build-commonjs:build": "tsc --outDir build", | ||
"build-commonjs:build": "tsc -d --outDir build", | ||
"build-esm": "npm run build-esm:clean && npm run build-esm:build", | ||
"build-esm:clean": "rimraf build-esm", | ||
"build-esm:build": "tsc -m es6 --outDir build-esm", | ||
"format": "prettier --write \"src/**/*.{js,ts}\"", | ||
"build-browser": "npm run build-browser:clean && npm run build-browser:build", | ||
"build-browser": "npm run build-browser:clean && npm run build-browser:build-dev && npm run build-browser:build-prod", | ||
"build-browser:clean": "rimraf browser", | ||
"build-browser:build": "rollup -c rollup.browser.config.js", | ||
"build-browser:build-dev": "NODE_ENV=development webpack", | ||
"build-browser:build-prod": "NODE_ENV=production webpack -p", | ||
"lint": "npm run lint:tslint", | ||
@@ -55,6 +61,2 @@ "lint:tslint": "tslint -p tsconfig.json", | ||
"devDependencies": { | ||
"@rollup/plugin-commonjs": "^15.0.0", | ||
"@rollup/plugin-json": "^4.1.0", | ||
"@rollup/plugin-node-resolve": "^9.0.0", | ||
"@rollup/plugin-typescript": "^5.0.2", | ||
"@types/jest": "^26.0.10", | ||
@@ -66,8 +68,10 @@ "@types/jsonwebtoken": "^8.5.0", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.26.4", | ||
"rollup-plugin-node-polyfills": "^0.2.1", | ||
"ts-jest": "^26.2.0", | ||
"ts-loader": "^8.0.2", | ||
"tslint": "^6.1.3", | ||
"tslint-config-prettier": "^1.18.0", | ||
"typescript": "^3.9.7" | ||
"typescript": "^3.9.7", | ||
"webpack": "^4.44.1", | ||
"webpack-bundle-analyzer": "^3.8.0", | ||
"webpack-cli": "^3.3.12" | ||
}, | ||
@@ -74,0 +78,0 @@ "dependencies": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
9072338
14
176
7068
4