narou
Version:
Narou API Wrapper
87 lines • 2.29 kB
JSON
{
"name": "narou",
"version": "1.2.0",
"description": "Narou API Wrapper",
"repository": {
"type": "git",
"url": "git+https://github.com/deflis/node-narou.git"
},
"license": "MIT",
"author": "deflis <deflis@gmail.com>",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"node": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"browser": {
"import": "./dist/index.browser.js",
"require": "./dist/index.browser.cjs"
},
"default": "./dist/index.js"
},
"./browser": {
"types": "./dist/index.browser.d.ts",
"import": "./dist/index.browser.js",
"require": "./dist/index.browser.cjs",
"default": "./dist/index.browser.js"
},
"./utils/*": {
"types": "./dist/utils/*.d.ts",
"import": "./dist/utils/*.js",
"require": "./dist/utils/*.cjs",
"default": "./dist/utils/*.js"
},
"./*": {
"types": "./dist/*.d.ts",
"import": "./dist/*.js",
"require": "./dist/*.cjs",
"default": "./dist/*.js"
}
},
"main": "dist/index.cjs",
"types": "dist/index.d.ts",
"files": [
"dist",
"src",
"package.json",
"pnpm-lock.yaml",
"README.md"
],
"devDependencies": {
"@types/node": "^22.15.3",
"@typescript-eslint/eslint-plugin": "^8.31.1",
"@typescript-eslint/parser": "^8.31.1",
"@vitest/coverage-v8": "^3.1.2",
"date-fns": "^4.1.0",
"eslint": "^9.25.1",
"eslint-config-prettier": "^10.1.2",
"eslint-plugin-prettier": "^5.2.6",
"globals": "^16.0.0",
"msw": "^2.7.5",
"prettier": "^3.5.3",
"run-z": "^2.1.0",
"tsup": "^8.4.0",
"typescript": "^5.8.3",
"vitest": "^3.1.2"
},
"engines": {
"node": ">=16.0.0",
"pnpm": ">=8"
},
"module": "dist/index.js",
"scripts": {
"build": "run-z check build:tsc",
"build:tsc": "tsup ./src",
"check": "run-z check:lint,check:build,test",
"check:lint": "eslint src/** test/**",
"check:build": "tsc --noEmit",
"format": "eslint --fix src/** test/**",
"test": "vitest run",
"docs": "run-z docs:clean docs:typedoc",
"docs:clean": "pnpm dlx rimraf docs",
"docs:typedoc": "pnpm dlx typedoc --out ./docs src/index.ts"
}
}