Switch back to parcel for library build.

This commit is contained in:
Madeorsk 2022-11-01 20:20:28 +01:00
parent 1c3c87a4a6
commit 5c465ed7ec

View file

@ -15,7 +15,7 @@
"author": "Madeorsk <madeorsk@protonmail.com>", "author": "Madeorsk <madeorsk@protonmail.com>",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"build": "ts-node build.ts && tsc --emitDeclarationOnly", "build": "parcel build",
"test": "jest" "test": "jest"
}, },
"source": "src/index.ts", "source": "src/index.ts",
@ -25,9 +25,12 @@
"lib/**/*" "lib/**/*"
], ],
"devDependencies": { "devDependencies": {
"@parcel/packager-ts": "2.7.0",
"@parcel/transformer-typescript-types": "2.7.0",
"@types/jest": "^28.1.6", "@types/jest": "^28.1.6",
"esbuild": "^0.15.8", "esbuild": "^0.15.8",
"jest": "^28.1.3", "jest": "^28.1.3",
"parcel": "^2.7.0",
"ts-jest": "^28.0.7", "ts-jest": "^28.0.7",
"ts-node": "^10.9.1", "ts-node": "^10.9.1",
"typescript": "^4.7.4" "typescript": "^4.7.4"