prsm/packages/ngn/package.json
2024-09-09 09:45:35 -04:00

44 lines
1.5 KiB
JSON

{
"name": "@prsm/ngn",
"version": "1.5.10",
"description": "",
"author": "nvms <pyersjonathan@gmail.com>",
"type": "module",
"main": "dist/index.js",
"scripts": {
"build": "npm run build:core && npm run build:packages:input && npm run build:packages:2d",
"build:core": "tsup src/index.ts --format cjs,esm --dts --minify --clean",
"build:packages:input": "tsup src/packages/input/index.ts --format cjs,esm --dts --minify --clean --out-dir dist/packages/input",
"build:packages:2d": "tsup src/packages/2d/index.ts --format cjs,esm --dts --minify --clean --out-dir dist/packages/2d",
"test": "bun src/tests/index.ts",
"test:watch": "nodemon --watch src --watch tests --exec \"clear && pnpm run test\" --ext ts",
"release": "bumpp package.json --commit 'Release %s' --push --tag && pnpm publish --access public",
"serve": "esr --serve src/demo.ts"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./input": {
"types": "./dist/packages/input/index.d.ts",
"import": "./dist/packages/input/index.js",
"require": "./dist/packages/input/index.cjs"
}
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@types/node": "^22.5.1",
"@types/web": "^0.0.157",
"bumpp": "^9.1.0",
"manten": "^0.3.0",
"nodemon": "^2.0.20",
"tsup": "^6.7.0",
"typescript": "^4.8.4"
}
}