@saltyaom/trek-router
Version:
Smol HTTP router library
49 lines (48 loc) • 1.88 kB
JSON
{
"name": "@saltyaom/trek-router",
"description": "Smol HTTP router library",
"version": "0.0.7",
"author": {
"name": "saltyAom",
"url": "https://github.com/SaltyAom",
"email": "saltyaom@gmail.com"
},
"main": "build/index.js",
"module": "build/es/index.js",
"esnext": "build/es/index.js",
"types": "src/index.ts",
"typings": "src/index.ts",
"keywords": [
"smol",
"http",
"router"
],
"homepage": "https://github.com/saltyaom/string-theocracy",
"repository": {
"type": "git",
"url": "https://github.com/saltyaom/string-theocracy"
},
"bugs": "https://github.com/SaltyAom/string-theocracy/issues",
"license": "MIT",
"scripts": {
"dev": "nodemon --config nodemon.json",
"bench": "node benchmarks",
"test": "mocha --compilers js:babel-core/register --reporter spec --bail --check-leaks test/**/*.test.js",
"test-ci": "babel-node node_modules/.bin/isparta cover node_modules/.bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/**/*.test.js",
"test-cov": "babel-node node_modules/.bin/isparta cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/**/*.test.js",
"build": "npm run build:main && npm run build:cjs && npm run build:es",
"build:cjs": "swc src --config-file .cjs.swcrc -d build/cjs",
"build:es": "swc src --config-file .es.swcrc -d build/es",
"build:main": "swc src --config-file .cjs.swcrc -d build",
"release": "npm run build && npm publish --access public"
},
"devDependencies": {
"@swc/cli": "^0.1.57",
"@swc/core": "^1.2.211",
"@swc/jest": "^0.2.21",
"@types/jest": "^28.1.4",
"@types/node": "^18.0.3",
"nodemon": "^2.0.19",
"typescript": "^4.7.4"
}
}