diff --git a/package.json b/package.json index 0240c75e..f7e7de1f 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "build:docs": "npm run build && node ./docs-generator.js", "start:docs": "npm run build:docs && npm run start --prefix docs", - "build": "nx build falso && npm run i18n && node ./post-build.js", + "build": "nx build falso && npm run i18n", "i18n": "nx i18n falso", "new": "nx workspace-generator falso", "format": "nx format", @@ -49,7 +49,6 @@ "jest": "29.4.3", "jsdoc-babel": "0.5.0", "jsdoc-to-markdown": "7.1.0", - "json-update": "5.3.0", "lint-staged": "11.1.2", "nx": "16.5.3", "prettier": "2.8.1", diff --git a/post-build.js b/post-build.js deleted file mode 100644 index de566e9d..00000000 --- a/post-build.js +++ /dev/null @@ -1,6 +0,0 @@ -const json = require('json-update'); - -json.update('dist/packages/falso/package.json', { main: './index.cjs' }) - .then(() => { - console.log('Changed umd to cjs'); - });