54 lines
1.2 KiB
JSON
54 lines
1.2 KiB
JSON
{
|
|
"name": "multiflag",
|
|
"version": "2.0.0",
|
|
"description": "flag/bitflag helper",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"postbuild": "cp package.json README.md ../LICENSE dist",
|
|
"test": "jest",
|
|
"type-check": "tsc --noEmit",
|
|
"format": "prettier --write src/ tests/"
|
|
},
|
|
"tsup": {
|
|
"entry": ["src/index.ts"],
|
|
"splitting": false,
|
|
"dts": true,
|
|
"minify": true,
|
|
"sourcemap": true,
|
|
"clean": true
|
|
},
|
|
"jest": {
|
|
"preset": "ts-jest",
|
|
"testEnvironment": "node",
|
|
"moduleNameMapper": {
|
|
"~": "<rootDir>/src/index.ts"
|
|
},
|
|
"collectCoverageFrom": ["src/**/*.ts"],
|
|
"coverageReporters": [ ["cobertura", {"file": "coverage.xml"}] ]
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/louisdevie/multiflag.git"
|
|
},
|
|
"keywords": [
|
|
"flag",
|
|
"bitflag"
|
|
],
|
|
"author": "Louis DEVIE",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/louisdevie/multiflag/issues"
|
|
},
|
|
"homepage": "https://github.com/louisdevie/multiflag#readme",
|
|
"devDependencies": {
|
|
"@types/jest": "^29.5.14",
|
|
"jest": "^29.7.0",
|
|
"prettier": "^3.5.3",
|
|
"ts-jest": "^29.3.2",
|
|
"ts-node": "^10.9.2",
|
|
"tsup": "^8.3.5",
|
|
"typescript": "^5.8.3"
|
|
}
|
|
}
|