Newer
Older
pixi.js / package.json
{
  "private": true,
  "scripts": {
    "start": "npm run watch",
    "postinstall": "npm run bootstrap",
    "bootstrap": "lerna bootstrap --hoist --no-ci",
    "clean:build": "rimraf \"{bundles,packages,packages/canvas,packages/filters}/*/{lib,dist}\"",
    "preclean": "npm run clean:build",
    "clean": "lerna clean",
    "pretest": "npm run lint && npm run build",
    "test": "floss --path test",
    "unit-test": "floss --path test",
    "docs": "jsdoc -c jsdoc.conf.json -R README.md",
    "lint": "eslint *.js test bundles packages tools --ignore-path .gitignore --max-warnings 0",
    "lintfix": "npm run lint -- --fix",
    "prebuild": "npm run clean:build",
    "build:min": "lerna run build:min --concurrency 1 --scope pixi*",
    "build": "rollup -c",
    "watch": "rollup -cw",
    "lerna": "lerna",
    "predist": "rimraf dist/*",
    "dist": "npm run docs && npm run build:min",
    "postdist": "copyfiles -f \"bundles/*/dist/*\" dist",
    "prerelease": "npm run clean:build && npm test",
    "postversion": "npm run build && npm run build:min",
    "release": "lerna publish"
  },
  "pre-commit": [
    "lintfix"
  ],
  "devDependencies": {
    "@lerna/batch-packages": "^3.6.0",
    "@lerna/filter-packages": "^3.6.0",
    "@lerna/project": "^3.8.5",
    "@pixi/jsdoc-template": "^2.4.2",
    "copyfiles": "^2.1.0",
    "electron": "^4.0.1",
    "eslint": "^5.10.0",
    "floss": "^2.1.5",
    "glob": "^7.1.3",
    "jsdoc": "^3.5.5",
    "lerna": "^3.8.5",
    "minimist": "^1.2.0",
    "pre-commit": "^1.2.2",
    "rimraf": "^2.6.2",
    "rollup": "^1.0.2",
    "rollup-plugin-buble": "^0.19.6",
    "rollup-plugin-commonjs": "^9.2.0",
    "rollup-plugin-node-resolve": "^4.0.0",
    "rollup-plugin-replace": "^2.1.0",
    "rollup-plugin-sourcemaps": "^0.4.2",
    "rollup-plugin-string": "^2.0.2"
  }
}