Skip to content
Snippets Groups Projects
package.json 5.59 KiB
Newer Older
  "name": "@mastodon/mastodon",
TrashMacNugget's avatar
TrashMacNugget committed
  "license": "AGPL-3.0-or-later",
    "node": ">=14"
    "postversion": "git push --tags",
    "build:development": "cross-env RAILS_ENV=development NODE_ENV=development ./bin/webpack",
    "build:production": "cross-env RAILS_ENV=production NODE_ENV=production ./bin/webpack",
    "manage:translations": "node ./config/webpack/translationRunner.js",
    "start": "node ./streaming/index.js",
    "test": "${npm_execpath} run test:lint:js && ${npm_execpath} run test:jest",
    "test:lint": "${npm_execpath} run test:lint:js && ${npm_execpath} run test:lint:sass",
    "test:lint:js": "eslint --ext=.js,.jsx . --cache --report-unused-disable-directives",
    "test:lint:sass": "stylelint \"**/*.{css,scss}\" && prettier --check \"**/*.{css,scss}\"",
    "test:jest": "cross-env NODE_ENV=test jest",
    "format": "prettier --write .",
    "format-check": "prettier --check ."
    "redis": "^4.0.6 <4.1.0",
  },
  "devDependencies": {
  },
  "optionalDependencies": {
    "bufferutil": "^4.0.7",
    "utf-8-validate": "^6.0.3"