diff --git a/package-lock.json b/package-lock.json index 21dbc71..f99716b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -232,7 +232,8 @@ "pngjs": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/pngjs/-/pngjs-3.4.0.tgz", - "integrity": "sha512-NCrCHhWmnQklfH4MtJMRjZ2a8c80qXeMlQMv2uVp9ISJMTt562SbGd6n2oq0PaPgKm7Z6pL9E2UlLIhC+SHL3w==" + "integrity": "sha512-NCrCHhWmnQklfH4MtJMRjZ2a8c80qXeMlQMv2uVp9ISJMTt562SbGd6n2oq0PaPgKm7Z6pL9E2UlLIhC+SHL3w==", + "dev": true }, "resolve": { "version": "1.12.0", diff --git a/package.json b/package.json index 16f206b..b780bff 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,8 @@ "build": "tsc", "lint": "tslint -p tsconfig.json", "prepare": "npm run build", - "prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled by NGCC. This is not allowed.\\nPlease delete and rebuild the package, without compiling with NGCC, before attempting to publish.\\nNote that NGCC may have been run by importing this package into another project that is being built with Ivy enabled.\\n')\" && exit 1", - "preversion": "npm run lint", - "prepublishOnly__ivy_ngcc_bak": "npm run lint" + "prepublishOnly": "npm run lint", + "preversion": "npm run lint" }, "repository": { "type": "git", @@ -27,24 +26,14 @@ "league", "three" ], - "dependencies": { - "pngjs": "^3.4.0" - }, "peerDependencies": { - "three": "^0.110.0" + "three": "^0.110.0", + "pngjs": ">= 3.4.0 < 4.0.0" }, "devDependencies": { "tslint": "^5.20.0", "typescript": "~3.7.2", - "three": "^0.110.0" - }, - "__processed_by_ivy_ngcc__": { - "fesm2015": "9.0.0-rc.3", - "fesm5": "9.0.0-rc.3", - "es2015": "9.0.0-rc.3", - "esm2015": "9.0.0-rc.3", - "esm5": "9.0.0-rc.3", - "main": "9.0.0-rc.3", - "module": "9.0.0-rc.3" + "three": "^0.110.0", + "pngjs": "^3.4.0" } }