inaba
Version:
A collection of random utilities
43 lines (42 loc) • 1.4 kB
JSON
{
"name": "inaba",
"description": "A collection of random utilities",
"version": "1.1.1",
"main": "lib/index.cjs",
"module": "lib/index.mjs",
"typings": "lib/index.d.ts",
"files": [
"lib"
],
"repository": {
"type": "git",
"url": "git+https://github.com/shigma/inaba.git"
},
"bugs": {
"url": "https://github.com/shigma/inaba/issues"
},
"homepage": "https://github.com/shigma/inaba",
"author": "Shigma <shigma10826@gmail.com>",
"license": "MIT",
"scripts": {
"compile:cjs": "esbuild src/index.ts --outfile=lib/index.cjs --bundle --sourcemap --platform=node --external:cosmokit --target=es2019",
"compile:esm": "esbuild src/index.ts --outfile=lib/index.mjs --bundle --sourcemap --platform=neutral --external:cosmokit --target=esnext",
"build": "yarn compile:cjs && yarn compile:esm && tsc -b",
"test": "mocha -r esbuild-register tests/*.spec.ts",
"test:text": "shx rm -rf coverage && c8 -r text yarn test",
"test:json": "shx rm -rf coverage && c8 -r json yarn test",
"test:html": "shx rm -rf coverage && c8 -r html yarn test"
},
"devDependencies": {
"@types/chai": "^4.3.1",
"@types/mocha": "^9.1.1",
"@types/node": "^18.6.4",
"c8": "^7.12.0",
"chai": "^4.3.6",
"esbuild": "^0.14.51",
"esbuild-register": "^3.3.3",
"mocha": "^9.2.2",
"shx": "^0.3.4",
"typescript": "^4.7.4"
}
}