alexstep/create-riot-app-ejected

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "create-riot-app",
  "description": "RiotJS application",
  "version": "1.0.1",
  "author": "name <email@example.com>",
  "private": true,
  "engines": {
    "node": ">=10.0.0",
    "npm": ">=6.0.0"
  },
  "meta": {
    "_": "It used for generate manifest.json in ./scripts/favicons.js",
    "start_url"      : "/",
    "appName"        : "RiotJS App",
    "appDescription" : "App description",
    "background"     : "#1c2026",
    "theme_color"    : "#1c2026",
    "display"        : "standalone",
    "orientation"    : "portrait"
  },
  "scripts": {
    "preinstall"      : "clear && echo '\n' && echo ' >> Install create-riot-app project ;)' && echo '\n\n' ",
    "macos_fixes"     : "sudo ulimit -n 2200 && brew install watchman",
    
    "start"           : "webpack-dev-server --mode development --config scripts/webpack/config.js --open --hot --history-api-fallback",
    
    "lesslint"        : "lessc --lint src/view/styles/app.less ",
    "eslint_fix"      : "eslint --fix --ext=.js,.tag ./src",
    "eslint"          : "eslint --ext=.js,.tag ./src",

    "lint-staged"     : "npx lint-staged",

    "test"            : "",
    
    "meta:generate"   : "cd ./scripts/tools/metainfo && npm i && npm start",
    "meta:clean"      : "rm -rf  ./src/_static/meta",
        
    "build"           : "webpack --mode production --config scripts/webpack/config.js",
    "check_build"     : "npx serve -s build -p 9000",
    
    "predeploy"       : "npm run eslint",
    "deploy"          : "npm run deploy:firebase",
    "deploy:firebase" : "cd ./scripts/tools/deploy_firebase && npm i && npm run deploy",
    "deploy:ssh"      : "cd ./scripts/tools/deploy_ssh && npm i && npm run deploy",
    "deploy:ipfs"     : "cd ./scripts/tools/deploy_ipfs && npm run deploy"
  },

  "pre-commit": [
    "lint-staged"
  ],
  "lint-staged": {
    "*.js": [
      "eslint"
    ],
    "*.tag": [
      "eslint"
    ],
    "*.less": [
      "stylelint --syntax less"
    ],
    "*.scss": [
      "stylelint --syntax scss"
    ],
    "*.css": [
      "stylelint"
    ]
  },

  "dependencies": {
    "hammerjs"   : "^2.0.8",
    "jquery"     : "^3.2.1",
    "riot"       : "^3.12.0",
    "riot-route" : "^3.1.3"
  },

  "devDependencies": {
    "@babel/core": "7.2.2",
    "@babel/preset-env": "7.2.3",
    "babel-loader": "8.0.5",
    "babel-minify-webpack-plugin": "0.3.1",
    "babel-plugin-syntax-dynamic-import": "6.18.0",
    "copy-webpack-plugin": "4.6.0",
    "css-loader": "2.1.0",
    "dotenv": "6.2.0",
    "pre-commit": "1.2.2",
    "eslint": "5.12.0",
    "eslint-config-standard": "12.0.0",
    "eslint-loader": "2.1.1",
    "eslint-plugin-import": "2.14.0",
    "eslint-plugin-node": "8.0.1",
    "eslint-plugin-promise": "4.0.1",
    "eslint-plugin-riot": "0.1.8",
    "eslint-plugin-standard": "4.0.0",
    "extract-text-webpack-plugin": "4.0.0-beta.0",
    "favicons-webpack-plugin": "0.0.9",
    "file-loader": "3.0.1",
    "html-webpack-plugin": "3.2.0",
    "less": "3.9.0",
    "less-loader": "4.1.0",
    "optimize-css-assets-webpack-plugin": "5.0.1",
    "riot-compiler": "3.5.3",
    "riot-hot-reload": "1.0.0",
    "riot-tag-loader": "2.1.0",
    "serviceworker-webpack-plugin": "1.0.1",
    "style-loader": "0.23.1",
    "stylelint": "9.9.0",
    "stylelint-webpack-plugin": "0.10.5",
    "stylus": "0.54.5",
    "stylus-loader": "3.0.2",
    "svg-inline-loader": "0.8.0",
    "uglifyjs-webpack-plugin": "2.1.1",
    "webpack": "4.28.4",
    "webpack-cli": "3.2.1",
    "webpack-dev-server": "3.1.14",
    "webpack-merge": "4.2.1"
  }
}