UNPKG

svelte-navigator-history

Version:
100 lines (99 loc) 3.16 kB
{ "name": "svelte-navigator-history", "version": "0.3.2", "description": "History module for svelte-navigator", "main": "dist/history.umd.js", "unpkg": "dist/history.umd.min.js", "module": "dist/history.mjs", "types": "dist/index.d.ts", "author": "Michel Strelow @mefechoel", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/mefechoel/svelte-navigator-history.git" }, "bugs": { "url": "https://github.com/mefechoel/svelte-navigator-history/issues" }, "homepage": "https://github.com/mefechoel/svelte-navigator-history#readme", "files": [ "dist" ], "keywords": [ "svelte-navigator", "svelte", "router", "routing", "history", "hash", "location", "spa", "typescript" ], "sideEffects": false, "scripts": { "build": "rollup -c", "analyze": "source-map-explorer dist/history.min.js", "cy:open": "cypress open", "cy:build": "rollup -c test/rollup.config.js", "cy:serve": "sirv test/public --single --port 7171", "cy:serve:quiet": "sirv test/public --single --port 7171 --quiet", "cy:start": "npm run cy:build && npm run cy:serve", "cy:start:quiet": "npm run cy:build && npm run cy:serve:quiet", "cy:run": "cypress run --headless", "test": "start-server-and-test cy:start:quiet http-get://localhost:7171 cy:run", "lint": "eslint . && prettier . --check", "lint:fix": "eslint . --fix && prettier . --write", "verify-build": "npm run lint && npm test && npm run build", "_postinstall": "is-ci || husky install", "prepublishOnly": "npm run verify-build && pinst --disable", "postpublish": "pinst --enable", "prepack": "pinst --disable", "postpack": "pinst --enable" }, "devDependencies": { "@babel/core": "^7.12.3", "@babel/plugin-proposal-object-rest-spread": "^7.12.1", "@babel/preset-env": "^7.12.1", "@cypress/code-coverage": "^3.8.2", "@rollup/plugin-babel": "^5.2.1", "@rollup/plugin-commonjs": "^15.1.0", "@rollup/plugin-node-resolve": "^9.0.0", "@rollup/plugin-replace": "^2.3.4", "@typescript-eslint/eslint-plugin": "^4.4.0", "@typescript-eslint/parser": "^4.4.0", "babel-plugin-istanbul": "^6.0.0", "cypress": "^5.6.0", "eslint": "^7.10.0", "eslint-config-airbnb": "^18.2.0", "eslint-config-airbnb-base": "^14.2.0", "eslint-config-prettier": "^6.12.0", "eslint-plugin-cypress": "^2.11.2", "eslint-plugin-import": "^2.22.1", "eslint-plugin-jsx-a11y": "^6.3.1", "eslint-plugin-prettier": "^3.1.4", "eslint-plugin-react": "^7.21.3", "eslint-plugin-react-hooks": "^4.1.2", "husky": "^5.0.0-beta.0", "is-ci": "^2.0.0", "lint-staged": "^10.5.0", "pinst": "^2.0.0", "prettier": "^2.1.2", "rimraf": "^3.0.2", "rollup": "^2.32.1", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-typescript2": "^0.27.3", "sirv-cli": "^1.0.8", "source-map-explorer": "^2.5.0", "start-server-and-test": "^1.11.5", "typescript": "^4.0.3" }, "lint-staged": { "*.{js,ts}": [ "eslint" ], "*": [ "prettier --check" ] } }