UNPKG

@virtualstate/app-history

Version:

Native JavaScript [app-history](https://github.com/WICG/app-history) implementation

106 lines (105 loc) 4.06 kB
{ "name": "@virtualstate/app-history", "version": "1.0.1-alpha.90", "main": "./esnext/index.js", "module": "./esnext/index.js", "types": "./esnext/index.d.ts", "type": "module", "sideEffects": false, "keywords": [ "app history", "app-history", "history", "ponyfill" ], "exports": { ".": "./esnext/index.js", "./esnext/tests/rollup": "./esnext/tests/rollup.js", "./esnext/tests": "./esnext/tests/index.js", "./esnext/tests/index.js": "./esnext/tests/index.js", "./esnext/tests/app-history.js": "./esnext/tests/app-history.js", "./esnext/tests/app-history.class.js": "./esnext/tests/app-history.class.js", "./esnext/tests/app-history.imported.js": "./esnext/tests/app-history.imported.js", "./tests": "./esnext/tests/index.js", "./tests/rollup": "./esnext/tests/rollup.js", "./tests/index.js": "./esnext/tests/index.js", "./tests/app-history.js": "./esnext/tests/app-history.js", "./tests/app-history.class.js": "./esnext/tests/app-history.class.js", "./tests/app-history.imported.js": "./esnext/tests/app-history.imported.js", "./event-target": "./esnext/event-target/async-event-target.js", "./event-target/async": "./esnext/event-target/async-event-target.js", "./event-target/sync": "./esnext/event-target/sync-event-target.js", "./esnext/polyfill": "./esnext/polyfill.js", "./polyfill": "./esnext/polyfill.js" }, "repository": { "type": "git", "url": "git+https://github.com/virtualstate/app-history.git" }, "bugs": { "url": "https://github.com/virtualstate/app-history/issues" }, "homepage": "https://github.com/virtualstate/app-history#readme", "author": "Fabian Cook <hello@fabiancook.dev>", "license": "MIT", "dependencies": { "abort-controller": "^3.0.0", "uuid": "^8.3.2", "whatwg-url": "^9.1.0" }, "devDependencies": { "@babel/cli": "^7.15.4", "@babel/core": "^7.15.4", "@babel/preset-env": "^7.15.4", "@opennetwork/http-representation": "^3.0.0", "@rollup/plugin-node-resolve": "^13.1.1", "@rollup/plugin-typescript": "^8.3.0", "@types/chance": "^1.1.3", "@types/jest": "^27.0.1", "@types/mkdirp": "^1.0.2", "@types/node": "^17.0.1", "@types/rimraf": "^3.0.2", "@types/uuid": "^8.3.3", "@types/whatwg-url": "^8.2.1", "@virtualstate/app-history-imported": "./scripts/imported", "@virtualstate/astro-renderer": "^2.46.0", "@virtualstate/dom": "^2.46.0", "@virtualstate/examples": "^2.46.0", "@virtualstate/fringe": "^2.46.1", "@virtualstate/hooks": "^2.46.0", "@virtualstate/hooks-extended": "^2.46.0", "@virtualstate/union": "^2.46.0", "@virtualstate/x": "^2.46.0", "c8": "^7.10.0", "chance": "^1.1.8", "cheerio": "^1.0.0-rc.10", "core-js": "^3.17.2", "dom-lite": "^20.2.0", "filehound": "^1.17.4", "jest": "^27.1.0", "jest-playwright-preset": "^1.7.0", "mkdirp": "^1.0.4", "playwright": "^1.17.1", "rimraf": "^3.0.2", "rollup": "^2.61.1", "rollup-plugin-babel": "^4.4.0", "rollup-plugin-ignore": "^1.0.10", "ts-jest": "^27.0.5", "ts-node": "^10.2.1", "typescript": "^4.4.3", "urlpattern-polyfill": "^1.0.0-rc2", "v8-to-istanbul": "^8.1.0", "wpt": "https://github.com/web-platform-tests/wpt.git" }, "scripts": { "build": "rm -rf esnext && tsc", "postbuild": "mkdir -p coverage && node scripts/post-build.js", "generate": "yarn build && node esnext/generate.js", "prepublishOnly": "npm run build", "test": "yarn build && node --enable-source-maps esnext/tests/index.js", "test:deno": "yarn build && deno run --allow-read --allow-net --import-map=import-map-deno.json esnext/tests/index.js", "test:deno:r": "yarn build && deno run -r --allow-read --allow-net --import-map=import-map-deno.json esnext/tests/index.js", "test:inspect": "yarn build && node --enable-source-maps --inspect-brk esnext/tests/index.js", "coverage": "yarn build && c8 node esnext/tests/index.js && yarn postbuild" } }