Skip to content
Snippets Groups Projects
package.json 5.51 KiB
Newer Older
  • Learn to ignore specific revisions
  •   "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",
    
    BSKY's avatar
    BSKY committed
        "test:lint:js": "eslint --ext=js . --cache",
    
        "test:lint:sass": "stylelint \"**/*.{css,scss}\"",
    
        "test:jest": "cross-env NODE_ENV=test jest",
    
        "format": "prettier --write \"**/*.{json,yml}\"",
        "format-check": "prettier --check \"**/*.{json,yml}\""
    
        "redis": "^4.0.6 <4.1.0",
    
      },
      "devDependencies": {
    
      },
      "optionalDependencies": {
    
        "bufferutil": "^4.0.7",
    
        "utf-8-validate": "^6.0.1"