l-hammer/YDTemplate

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "{{ name }}",
  "description": "{{ description }}",
  "version": "1.2.1",
  "author": "{{ author }}",
  "scripts": {
    {{#if_eq type "wx || h5"}}
    "dev": "cross-env NODE_ENV=development node mock/index.js app",
    "dev:appeg": "cross-env NODE_ENV=development node mock/index.js appeg",
    "start": "cross-env NODE_ENV=development node server/index.js app",
    "start:appeg": "cross-env NODE_ENV=development node server/index.js appeg",
    "build": "cross-env NODE_ENV=production parcel build src/app/index.html --no-minify",
    "build:min": "cross-env NODE_ENV=production parcel build src/app/index.html",
    "build:appeg": "cross-env NODE_ENV=production parcel build src/examples/app/index.html --no-minify",
    "build:appeg:min": "cross-env NODE_ENV=production parcel build src/examples/app/index.html",
    "dist": "npm run appbuild",
    {{/if_eq}}
    {{#if_eq type "web"}}
    "dev:web": "cross-env NODE_ENV=development node mock/index.js web",
    "dev:webeg": "cross-env NODE_ENV=development node mock/index.js webeg",
    "start:web": "cross-env NODE_ENV=development node server/index.js web",
    "start:webeg": "cross-env NODE_ENV=development node server/index.js webeg",
    "build:web": "cross-env NODE_ENV=production parcel build src/web/index.html  --no-minify",
    "build:web:min": "cross-env NODE_ENV=production parcel build src/web/index.html",
    "build:webeg": "cross-env NODE_ENV=production parcel build src/examples/web/index.html --no-minify",
    "build:webeg:min": "cross-env NODE_ENV=production parcel build src/examples/web/index.html",
    "dist": "npm run webbuild",
    {{/if_eq}}
    "cleardepe": "rm -rf node_modules/"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/l-hammer/YDTemplate.git"
  },
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/l-hammer/YDTemplate/issues"
  },
  "keywords": [
    "Vue",
    "LHammer",
    "Template",
    "YDTemplate"
  ],
  "dependencies": {
    {{#if_eq type "web"}}
    "handlebars": "^4.0.11",
    "jquery": "^3.3.1",
    "jquery-modal": "^0.9.1",
    "perfect-scrollbar": "^1.3.0",
    "swiper": "^4.2.6",
    {{/if_eq}}
    {{#unless_eq type "web"}}
    "axios": "^0.17.1",
    "qs": "^6.5.2",
    "v-animate-css": "^0.0.2",
    "vue": "^2.5.16",
    "vue-router": "^3.0.1",
    {{/unless_eq}}
    {{#if_eq type "wx"}}
    "weixin-js-sdk": "^1.3.2"
    {{/if_eq}}
  },
  "peerDependencies": {
    "vue": ">=2.5.16"
  },
  "devDependencies": {
    "@vue/component-compiler-utils": "^1.2.1",
    "autoprefixer": "^8.5.0",
    "babel-eslint": "^8.2.3",
    "babel-preset-env": "^1.7.0",
    "babel-preset-vue": "^2.0.2",
    "body-parser": "^1.18.3",
    "connect-history-api-fallback": "^1.5.0",
    "cross-env": "^5.1.5",
    "eslint": "^4.19.1",
    "eslint-config-airbnb-base": "^12.1.0",
    "eslint-plugin-import": "^2.12.0",
    "eslint-plugin-vue": "^4.5.0",
    "express": "^4.16.3",
    "http-proxy-middleware": "^0.17.4",
    "mockjs": "^1.0.1-beta3",
    "node-sass": "^4.9.0",
    "parcel-bundler": "^1.8.1",
    "parcel-plugin-eslint": "^1.0.4",
    "vue-hot-reload-api": "^2.3.0",
    "vue-template-compiler": "^2.5.16"
  },
  "engines": {
    "node": ">= 8.0.0",
    "npm": ">= 5.0.0"
  }
}