Remove technical documentation and testing files; add ESLint configuration and CI scripts for build and deployment processes.
This commit is contained in:
29
package.json
29
package.json
@@ -7,10 +7,22 @@
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"scripts": {
|
||||
"ci-install": "bun install",
|
||||
"ci-test": "bun test",
|
||||
"ci-build": "bash scripts/ci-build.sh",
|
||||
"ci-deploy:ga": "bash scripts/ci-deploy.sh --beta false",
|
||||
"ci-deploy:beta": "bash scripts/ci-deploy.sh --beta true",
|
||||
"format": "bun run prettier --write ./src/**/*.ts",
|
||||
"lint": "eslint",
|
||||
"prelint:fix": "bun run format",
|
||||
"lint:fix": "eslint --fix",
|
||||
"test": "bun test",
|
||||
"test:watch": "bun test --watch",
|
||||
"example:basic": "bun run src/examples/basic-usage.ts",
|
||||
"example:custom": "bun run src/examples/custom-hash-function.ts"
|
||||
"build:node:debug": "bun build ./src/index.ts --target=node --sourcemap=none --format=esm --sourcemap=inline --outdir=dist/node",
|
||||
"build:browser:debug": "bun build ./src/index.ts --target=browser --sourcemap=none --format=esm --sourcemap=inline --outdir=dist/browser",
|
||||
"build:node": "bun build ./src/index.ts --target=node --sourcemap=none --format=esm --splitting --minify --outdir=dist/node",
|
||||
"build:browser": "bun build ./src/index.ts --target=browser --sourcemap=none --format=esm --splitting --minify --outdir=dist/browser",
|
||||
"build:types": "bunx tsc -p tsconfig.d.json",
|
||||
"build:prepare-package-json": "bash scripts/prepare-package-json.sh"
|
||||
},
|
||||
"keywords": [
|
||||
"hashmap",
|
||||
@@ -24,7 +36,16 @@
|
||||
"author": "Techniker.me",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@types/bun": "latest"
|
||||
"@eslint/css": "0.14.1",
|
||||
"@eslint/js": "9.39.1",
|
||||
"@eslint/json": "0.14.0",
|
||||
"@eslint/markdown": "7.5.1",
|
||||
"@types/bun": "latest",
|
||||
"eslint": "9.39.1",
|
||||
"globals": "16.5.0",
|
||||
"jiti": "2.6.1",
|
||||
"prettier": "3.6.2",
|
||||
"typescript-eslint": "8.47.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"typescript": "^5"
|
||||
|
||||
Reference in New Issue
Block a user