Skip to content
package.json 7.51 KiB
Newer Older
winniehell's avatar
winniehell committed
{
  "private": true,
  "scripts": {
    "check-dependencies": "scripts/frontend/check_dependencies.sh",
    "clean": "rm -rf public/assets tmp/cache/*-loader",
    "dev-server": "NODE_OPTIONS=\"--max-old-space-size=3584\" nodemon -w 'config/webpack.config.js' --exec 'webpack-dev-server --config config/webpack.config.js'",
    "eslint": "eslint --max-warnings 0 --report-unused-disable-directives --ext .js,.vue .",
    "eslint-fix": "eslint --max-warnings 0 --report-unused-disable-directives --ext .js,.vue --fix .",
    "eslint-report": "eslint --max-warnings 0 --ext .js,.vue --format html --output-file ./eslint-report.html --no-inline-config .",
    "file-coverage": "scripts/frontend/file_test_coverage.js",
    "prejest": "yarn check-dependencies",
    "jest": "jest",
    "jest-debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
    "jsdoc": "jsdoc -c config/jsdocs.config.js",
    "prekarma": "yarn check-dependencies",
Mike Greiling's avatar
Mike Greiling committed
    "karma": "BABEL_ENV=${BABEL_ENV:=karma} karma start --single-run true config/karma.config.js",
    "karma-coverage": "BABEL_ENV=coverage karma start --single-run true config/karma.config.js",
    "karma-start": "BABEL_ENV=karma karma start config/karma.config.js",
    "postinstall": "node ./scripts/frontend/postinstall.js",
    "prettier-staged": "node ./scripts/frontend/prettier.js check",
    "prettier-staged-save": "node ./scripts/frontend/prettier.js save",
    "prettier-all": "node ./scripts/frontend/prettier.js check-all",
    "prettier-all-save": "node ./scripts/frontend/prettier.js save-all",
    "stylelint": "node node_modules/stylelint/bin/stylelint.js app/assets/stylesheets/**/*.*  ee/app/assets/stylesheets/**/*.* !**/vendors/**",
    "stylelint-file": "node node_modules/stylelint/bin/stylelint.js",
    "stylelint-create-utility-map": "node scripts/frontend/stylelint/stylelint-utility-map.js",
    "test": "node scripts/frontend/test",
    "webpack": "NODE_OPTIONS=\"--max-old-space-size=3584\" webpack --config config/webpack.config.js",
    "webpack-prod": "NODE_OPTIONS=\"--max-old-space-size=3584\" NODE_ENV=production webpack --config config/webpack.config.js"
winniehell's avatar
winniehell committed
  },
Lukas Eipert's avatar
Lukas Eipert committed
    "d3": "^4.13.0",
Phil Hughes's avatar
Phil Hughes committed
    "diff": "^3.4.0",
Andrew Harmon's avatar
Andrew Harmon committed
    "katex": "^0.10.0",
Stan Hu's avatar
Stan Hu committed
    "mermaid": "^8.2.6",
Tim Zallmann's avatar
Tim Zallmann committed
    "vue": "^2.6.10",
winniehell's avatar
winniehell committed
  "devDependencies": {
  "resolutions": {
    "vue-jest/ts-jest": "24.0.0"
  },
    "node": ">=8.10.0",
    "yarn": "^1.10.0"
winniehell's avatar
winniehell committed
  }
}