hy-push-state
Version:
Turn static web sites into dynamic web apps
99 lines (98 loc) • 2.92 kB
JSON
{
"name": "hy-push-state",
"version": "1.0.0-uvw.0",
"description": "Turn static web sites into dynamic web apps",
"main": "src/index.js",
"scripts": {
"clean": "rm -rf dist lib doc/source",
"test": "exit 0",
"format": "prettier --write \"src/**/*.js\"",
"build": "npm run build:dev & npm run build:prod & npm run build:lib & npm run build:doc & wait",
"build:lib": "babel src --out-dir lib",
"build:prod": "webpack --mode production --display-optimization-bailout",
"build:dev": "webpack --mode development --display-optimization-bailout",
"build:doc": ".scripts/gen-doc.js && .scripts/gen-readme.js",
"watch": "npm run watch:src & npm run watch:doc",
"watch:src": "webpack --watch --mode development --progress --colors",
"watch:doc": "npm run build:doc && onchange 'src/**/*.js' -- npm run build:doc '{{changed}}'",
"serve": "http-server -s -p $npm_package_config_port & http-server -s -p $npm_package_config_portext --cors",
"dev": "npm run watch:src & npm run serve",
"preversion": "sed -i '' 's:/dist:#/dist:' .gitignore",
"version": "npm run format && npm run build && git add .",
"postversion": "sed -i '' 's:#/dist:/dist:' .gitignore && git rm --cached -r dist && git add . && git commit -m 'restore preversion .gitignore'"
},
"config": {
"port": "8081",
"portext": "9091"
},
"author": "Florian Klampfer <mail@qwtel.com> (https://qwtel.com/)",
"license": "GPL-3.0",
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"babel-loader": "^8.1.0",
"camelcase": "^5.3.1",
"docco": "0.7.0",
"file-loader": "^3.0.1",
"html-webpack-plugin": "^3.2.0",
"onchange": "^5.2.0",
"prettier": "^1.19.1",
"raw-loader": "^1.0.0",
"underscore-template-loader": "^1.1.0",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11",
"webpack-merge": "^4.2.2",
"yargs": "^13.3.2"
},
"dependencies": {
"hy-component": "^1.0.0-pre.27",
"rxjs": "^6.5.5"
},
"optionalDependencies": {
"jquery": "^3.3.1"
},
"directories": {
"doc": "doc",
"example": "example"
},
"repository": {
"type": "git",
"url": "git+https://github.com/qwtel/hy-push-state.git"
},
"bugs": {
"url": "https://github.com/qwtel/hy-push-state/issues"
},
"homepage": "https://qwtel.com/hy-push-state/",
"keywords": [
"page-transitions",
"ajax",
"pjax",
"smoothstate",
"hydejack",
"vanilla",
"jquery",
"animations",
"rxjs",
"vanilla-js",
"custom-element",
"jquery-plugin",
"history-api",
"web-components",
"webcomponent",
"history-management",
"prefetch",
"page-loader",
"prefetcher",
"reactive"
],
"prettier": {
"printWidth": 100,
"trailingComma": "es5"
},
"babel": {
"presets": [
"@babel/preset-env"
]
}
}