uhrwerk/package.json

37 lines
757 B
JSON

{
"name": "uhrwerk",
"version": "1.1.0",
"description": "time utility",
"author": "Niccolo Borgioli",
"license": "MIT",
"type": "module",
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --sourcemap",
"test": "pnpm run build && mocha",
"prepublishOnly": "pnpm run test && pnpm run build"
},
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist"
],
"keywords": [
"time",
"interval",
"humand-readable",
"utility"
],
"devDependencies": {
"mocha": "~10.0.0",
"tsup": "^6.1.3",
"typescript": "~4.7.4"
}
}