diff --git a/package.json b/package.json index c0df869..a6115dc 100644 --- a/package.json +++ b/package.json @@ -4,26 +4,24 @@ "description": "Alternative, TypeScript parser", "source": "src/index.ts", "main": "lib/index.js", - "module": "lib/index.mjs", "types": "lib/index.d.ts", - "scripts": { - "build": "microbundle --define process.env.NODE_ENV=production --no-sourcemap --tsconfig ./tsconfig.json --format esm,cjs", - "test": "jest --collect-coverage --silent", - "test:test262": "ts-node -T __test__/run_test262.ts", - "release-major": "yarn build && yarn test && standard-version --release-as major", - "release-minor": "yarn build && yarn test && standard-version --release-as minor", - "release-patch": "yarn build && yarn test && standard-version --release-as patch" - }, "exports": { ".": [ { "import": "./lib/index.mjs", - "require": "./lib/index.js", "default": "./lib/index.js" }, "./lib/index.js" ] }, + "scripts": { + "build": "microbundle --define process.env.NODE_ENV=production --no-sourcemap --tsconfig ./tsconfig.json --format esm,cjs", + "test": "jest --collect-coverage --silent", + "test:test262": "ts-node -T __test__/run_test262.ts", + "release-major": "yarn build && yarn test && standard-version --release-as major", + "release-minor": "yarn build && yarn test && standard-version --release-as minor", + "release-patch": "yarn build && yarn test && standard-version --release-as patch" + }, "repository": { "type": "git", "url": "git+https://github.com/TyrealHu/acorn-typescript.git"