html-pagination/package.json

42 lines
1.3 KiB
JSON

{
"name": "html-pagination",
"version": "1.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/ && bash -c 'for module in \".\\/cache\" \".\\/types\" \".\\/utils\"; do sed -i \"s/$module/$module.js/g\" ./lib/index.js; done' && serve -s lib",
"build": "tsc",
"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",
"esbuild": "^0.12.17",
"esbuild-jest": "^0.5.0",
"jest": "^27.0.6",
"typescript": "^4.3.5"
}
}