- Remove @sinclair/hammer from devDependencies - Remove hammer.mjs entry point - Remove task/ directory (build scripts, benchmarks) - Add build.mjs: standalone build script replicating the CJS/ESM compilation, package.json generation, notice stripping, and ESM specifier rewrite logic - Update npm scripts to use build.mjs and direct tsc/mocha instead of hammer task commands
37 lines
1.2 KiB
JSON
37 lines
1.2 KiB
JSON
{
|
|
"name": "@alkdev/typebox",
|
|
"version": "0.34.49",
|
|
"description": "Json Schema Type Builder with Static Type Resolution for TypeScript",
|
|
"keywords": [
|
|
"typescript",
|
|
"json-schema",
|
|
"validate",
|
|
"typecheck"
|
|
],
|
|
"author": "alkdev",
|
|
"license": "MIT",
|
|
"homepage": "https://git.alk.dev/alkdev/typebox",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.alk.dev/alkdev/typebox"
|
|
},
|
|
"scripts": {
|
|
"test:static": "tsc -p test/static/tsconfig.json --noEmit --strict",
|
|
"test:runtime": "tsc -p src/tsconfig.json --outDir target/test/runtime --target ES2020 --module Node16 --moduleResolution Node16 && mocha target/test/runtime/index.js",
|
|
"build": "node build.mjs build",
|
|
"clean": "node build.mjs clean",
|
|
"test": "npm run test:static && npm run test:runtime",
|
|
"format": "prettier --no-semi --single-quote --print-width 240 --trailing-comma all --write src test"
|
|
},
|
|
"devDependencies": {
|
|
"@arethetypeswrong/cli": "^0.13.2",
|
|
"@types/mocha": "^9.1.1",
|
|
"@types/node": "^22.13.5",
|
|
"ajv": "^8.12.0",
|
|
"ajv-formats": "^2.1.1",
|
|
"mocha": "^11.3.0",
|
|
"prettier": "^2.7.1",
|
|
"typescript": "^6.0.2"
|
|
}
|
|
}
|