diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..c7bc330 --- /dev/null +++ b/.npmignore @@ -0,0 +1,16 @@ +/.vscode/ +/.idea/ +/script/ +/src/tests/ + +/dist/**/*.report.html + +/examples/ +/public/ + +tsconfig.json +tsconfig.tsbuildinfo +babel.config.cjs +jest.config.cjs + +*.tgz diff --git a/package.json b/package.json index 44784cf..bbe6ae8 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,6 @@ { "name": "@aislamov/diffusers.js", "version": "0.9.0", - "private": false, "license": "MIT", "author": { "name": "Arthur Islamov", @@ -30,7 +29,7 @@ "test": "NODE_OPTIONS=--experimental-vm-modules npx jest", "lint": "eslint --ext .ts,.tsx src" }, - "main": "dist/index.js", + "main": "dist/index.cjs", "exports": { ".": { "node": {