Store the initial FormData of a form and only prompt if any current value is actually different than the corresponding initial value (i.e. do not trigger prompt just by change events)
99 lines
3.1 KiB
JSON
99 lines
3.1 KiB
JSON
{
|
|
"name": "uni2work",
|
|
"version": "5.3.0",
|
|
"description": "",
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"scripts": {
|
|
"start": "run-p frontend:build:watch yesod:start",
|
|
"test": "run-s frontend:test yesod:test",
|
|
"lint": "run-s frontend:lint yesod:lint",
|
|
"build": "run-s frontend:build yesod:build",
|
|
"yesod:db": "./db.sh",
|
|
"yesod:start": "./start.sh",
|
|
"yesod:lint": "./hlint.sh",
|
|
"yesod:test": "./test.sh",
|
|
"yesod:build": "./build.sh",
|
|
"frontend:lint": "eslint frontend/src",
|
|
"frontend:test": "karma start --conf karma.conf.js",
|
|
"frontend:test:watch": "karma start --conf karma.conf.js --single-run false",
|
|
"frontend:build": "webpack",
|
|
"frontend:build:watch": "webpack --watch",
|
|
"prerelease": "./is-clean.sh && npm run test",
|
|
"release": "standard-version -a",
|
|
"postrelease": "git push --follow-tags origin master"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged",
|
|
"commit-msg": "commitlint --edit $HUSKY_GIT_PARAMS"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"frontend/src/**/*.js": [
|
|
"eslint",
|
|
"git add"
|
|
]
|
|
},
|
|
"standard-version": {
|
|
"scripts": {
|
|
"postbump": "./sync-versions.hs && git add -- package.yaml"
|
|
},
|
|
"commitUrlFormat": "https://gitlab.cip.ifi.lmu.de/jost/UniWorX/commit/{{hash}}",
|
|
"compareUrlFormat": "https://gitlab.cip.ifi.lmu.de/jost/UniWorX/compare/{{previousTag}}...{{currentTag}}",
|
|
"issueUrlFormat": "https://gitlab.cip.ifi.lmu.de/jost/UniWorX/issues/{{id}}",
|
|
"userUrlFormat": "https://gitlab.cip.ifi.lmu.de/{{user}}"
|
|
},
|
|
"browserslist": [
|
|
"defaults"
|
|
],
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.5.5",
|
|
"@babel/core": "^7.5.5",
|
|
"@babel/plugin-proposal-class-properties": "^7.5.5",
|
|
"@babel/plugin-proposal-decorators": "^7.4.4",
|
|
"@babel/plugin-transform-runtime": "^7.5.5",
|
|
"@babel/preset-env": "^7.5.5",
|
|
"@commitlint/cli": "^8.1.0",
|
|
"@commitlint/config-conventional": "^8.1.0",
|
|
"autoprefixer": "^9.6.1",
|
|
"babel-core": "^6.26.3",
|
|
"babel-eslint": "^10.0.3",
|
|
"babel-loader": "^8.0.6",
|
|
"babel-plugin-syntax-dynamic-import": "^6.18.0",
|
|
"babel-plugin-transform-decorators-legacy": "^1.3.5",
|
|
"babel-preset-es2015": "^6.24.1",
|
|
"css-loader": "^2.1.1",
|
|
"eslint": "^5.16.0",
|
|
"extract-text-webpack-plugin": "^4.0.0-beta.0",
|
|
"husky": "^2.7.0",
|
|
"jasmine-core": "^3.4.0",
|
|
"karma": "^4.2.0",
|
|
"karma-chrome-launcher": "^2.2.0",
|
|
"karma-cli": "^2.0.0",
|
|
"karma-jasmine": "^2.0.1",
|
|
"karma-jasmine-html-reporter": "^1.4.2",
|
|
"karma-mocha-reporter": "^2.2.5",
|
|
"karma-webpack": "^3.0.5",
|
|
"lint-staged": "^8.2.1",
|
|
"lodash.debounce": "^4.0.8",
|
|
"node-sass": "^4.12.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"null-loader": "^2.0.0",
|
|
"postcss-loader": "^3.0.0",
|
|
"sass-loader": "^7.3.1",
|
|
"standard-version": "^6.0.1",
|
|
"style-loader": "^0.23.1",
|
|
"uglifyjs-webpack-plugin": "^2.2.0",
|
|
"webpack": "^4.39.3",
|
|
"webpack-cli": "^3.3.7"
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.5.5",
|
|
"moment": "^2.24.0",
|
|
"npm": "^6.11.2",
|
|
"tail.datetime": "git+https://git@github.com/uni2work/tail.DateTime.git#update-view-on-select"
|
|
}
|
|
}
|