51 lines
1.5 KiB
JSON
51 lines
1.5 KiB
JSON
{
|
|
"name": "html-pagination",
|
|
"version": "0.0.0",
|
|
"description": "Package for html document pagination to fit container with fixed width",
|
|
"main": "lib/index.js",
|
|
"types": "lib/index.d.ts",
|
|
"files": [
|
|
"./lib/**/*"
|
|
],
|
|
"scripts": {
|
|
"test:browser": "npm run build && cp ./src/__tests__/index.html ./lib/ && serve -s lib",
|
|
"build": "node esbuild.config.js && npm run type-check",
|
|
"type-check": "tsc --emitDeclarationOnly --outDir lib",
|
|
"lint": "eslint .",
|
|
"format": "prettier --write .",
|
|
"test": "jest --config jestconfig.json --passWithNoTests",
|
|
"prepare": "npm run build",
|
|
"prepublishOnly": "npm test && npm run lint",
|
|
"preversion": "npm run lint",
|
|
"version": "npm run format && git add -A src",
|
|
"postversion": "git push && git push --tags"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/dm1sh/html-pagination.git"
|
|
},
|
|
"keywords": [
|
|
"pagination",
|
|
"books"
|
|
],
|
|
"author": "dm1sh",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/dm1sh/html-pagination/issues"
|
|
},
|
|
"homepage": "https://github.com/dm1sh/html-pagination#readme",
|
|
"devDependencies": {
|
|
"@types/jest": "^26.0.24",
|
|
"@typescript-eslint/eslint-plugin": "^4.29.0",
|
|
"@typescript-eslint/parser": "^4.29.0",
|
|
"esbuild": "^0.12.17",
|
|
"esbuild-jest": "^0.5.0",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-prettier": "^3.4.0",
|
|
"jest": "^27.0.6",
|
|
"prettier": "^2.3.2",
|
|
"typescript": "^4.3.5"
|
|
}
|
|
}
|