"import": "./lib/index.mjs"
}
},
+ "publishConfig": {
+ "directory": "package"
+ },
"scripts": {
"prepare": "node prepare.mjs",
"build": "rollup --config --environment BUILD:development",
"lint:fix": "eslint . --cache --fix",
"lint:report": "eslint . --cache --format json --output-file reports/eslint.json",
"typedoc": "node typedoc.mjs",
- "prepublishOnly": "pnpm build:prod"
+ "prepublishOnly": "pnpm build:prod && rm -rf ./package && clean-publish",
+ "postpublish": "rm -rf ./package"
},
"engines": {
"node": ">=18.0.0",
"@rollup/plugin-typescript": "^12.1.1",
"@types/node": "^22.8.1",
"c8": "^10.1.2",
+ "clean-publish": "^5.1.0",
"cross-env": "^7.0.3",
"eslint": "^9.13.0",
"eslint-define-config": "^2.1.0",
c8:
specifier: ^10.1.2
version: 10.1.2
+ clean-publish:
+ specifier: ^5.1.0
+ version: 5.1.0
cross-env:
specifier: ^7.0.3
version: 7.0.3
typescript:
specifier: ~5.6.3
version: 5.6.3
+ publishDirectory: package
packages:
resolution: {integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==}
engines: {node: '>=8'}
+ clean-publish@5.1.0:
+ resolution: {integrity: sha512-Gbz8x7sL/sn0j+2B+yYEumD17WmPT6pHLN+A5nhcd0Sdh86EYblQleU+dUIICXVFalFMFBdW2aGynrVJ6k1u4Q==}
+ engines: {node: '>= 18.0.0'}
+ hasBin: true
+
clean-stack@2.2.0:
resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==}
engines: {node: '>=6'}
ci-info@3.9.0: {}
+ clean-publish@5.1.0:
+ dependencies:
+ cross-spawn: 7.0.3
+ fast-glob: 3.3.2
+ lilconfig: 3.1.2
+ micromatch: 4.0.8
+
clean-stack@2.2.0: {}
clear-module@4.1.2: