package.json 4.98 KB
{
    "name": "yohobuywap-node-activity",
    "version": "6.9.17-beta-3",
    "private": true,
    "description": "A New Yohobuy Project With Express",
    "repository": {
        "type": "git",
        "url": "http://git.dev.yoho.cn/web/yohobuywap-node-activity.git"
    },
    "scripts": {
        "start": "NODE_ENV=\"production\" node app.js",
        "dev": "nodemon -e js,hbs -i public/ -i dist/ app.js",
        "static": "yo-cli dev --config ./build/yo.dev.conf.js",
        "build:node": "node ./build/yo.node.conf.js",
        "build:sw": "webpack --config ./build/webpack.sw.config.js",
        "build": "yo-cli build --config ./build/yo.prod.conf.js",
        "debug": "DEBUG=\"express:*\" nodemon -e js,hbs -i public/ app.js",
        "lint:css": "stylelint --config .stylelintrc --cache --custom-formatter ./node_modules/stylelint-formatter-table",
        "lint:js": "eslint --ext .js,.vue --cache --format table",
        "lint-css": "npm run -s lint:css -- ./**/*.{scss,css,vue}",
        "lint-js": "npm run -s lint:js -- .",
        "lint-all": "echo \"JS: \";npm run -s lint-js;echo \"CSS: \";npm run -s lint-css",
        "precommit": "lint-staged",
        "prod": "git pull && yo-cli build --config ./build/yo.prod.conf.js && pm2 reload yohobuywap-node-activity"
    },
    "lint-staged": {
        "*.{js,vue}": [
            "npm run -s lint:js -- --fix",
            "git add"
        ],
        "*.{scss,css,vue}": [
            "npm run -s lint:css -- --fix",
            "git add"
        ]
    },
    "config": {
        "lintJs": [
            {
                "title": "JS",
                "path": [
                    "."
                ]
            }
        ],
        "lintCss": [
            {
                "title": "CSS",
                "path": [
                    "public/scss/**/*.css",
                    "public/**/*.vue"
                ]
            }
        ]
    },
    "license": "MIT",
    "dependencies": {
        "bluebird": "^3.4.7",
        "body-parser": "^1.18.0",
        "cheerio": "^0.22.0",
        "client-sessions": "^0.8.0",
        "clipboard": "^2.0.1",
        "compression": "^1.7.2",
        "connect-multiparty": "^2.0.0",
        "connect-redis": "^3.3.3",
        "cookie-parser": "^1.4.3",
        "csurf": "^1.9.0",
        "express": "^4.16.3",
        "feed": "^1.1.0",
        "geetest": "^4.1.2",
        "handlebars": "^4.0.11",
        "lodash": "^4.17.5",
        "memory-cache": "^0.2.0",
        "moment": "^2.22.1",
        "passport": "^0.4.0",
        "passport-local": "^1.0.0",
        "passport-qq": "^0.1.0",
        "passport-sina": "^0.1.0",
        "passport-strategy": "^1.0.0",
        "passport-weixin": "^0.2.0",
        "path-to-regexp": "^2.1.0",
        "redis": "^2.8.0",
        "request": "^2.85.0",
        "request-promise": "^4.2.1",
        "semver": "^5.5.0",
        "sitemap": "^1.13.0",
        "urlencode": "^1.1.0",
        "uuid": "^3.2.1",
        "vconsole": "^3.3.4",
        "xml2js": "^0.4.19",
        "yoho-express-session": "^2.0.0",
        "yoho-md5": "^2.0.0",
        "yoho-node-lib": "=0.6.43",
        "yoho-zookeeper": "^1.0.10"
    },
    "devDependencies": {
        "@mapbox/stylelint-processor-arbitrary-tags": "^0.2.0",
        "autoprefixer": "^8.3.0",
        "babel-core": "^6.26.0",
        "babel-eslint": "^8.2.3",
        "babel-loader": "^7.1.4",
        "babel-plugin-syntax-jsx": "^6.18.0",
        "babel-plugin-transform-runtime": "^6.23.0",
        "babel-preset-env": "^1.6.0",
        "babel-runtime": "^6.26.0",
        "cssnano": "^3.10.0",
        "echarts": "^4.0.4",
        "eslint": "^5.2.0",
        "eslint-config-yoho": "~1.0.9",
        "eslint-plugin-html": "^4.0.3",
        "husky": "^0.14.3",
        "intersection-observer": "^0.5.0",
        "jquery-lazyload": "^1.9.7",
        "lint-staged": "^7.2.2",
        "lozad": "^1.4.0",
        "nodemon": "^1.17.3",
        "postcss-center": "^1.0.0",
        "postcss-clearfix": "^2.0.1",
        "postcss-crip": "^2.0.1",
        "postcss-position": "^1.0.0",
        "postcss-pxtorem": "^4.0.1",
        "postcss-short": "^4.1.0",
        "postcss-sprites": "^4.2.1",
        "postcss-use": "^3.0.0",
        "shelljs": "^0.8.1",
        "store": "^2.0.12",
        "stylelint": "^9.5.0",
        "stylelint-config-yoho": "~1.3.0",
        "stylelint-formatter-table": "^1.0.2",
        "stylelint-scss": "^3.2.0",
        "vue": "^2.5.16",
        "vue-infinite-scroll": "^2.0.1",
        "vue-lazyload": "^1.2.3",
        "webpack": "^4.16.5",
        "whatwg-fetch": "^2.0.4",
        "workbox-sw": "^2.1.2",
        "workbox-webpack-plugin": "^3.4.1",
        "yo-cli": "=2.1.9",
        "yoho-activity-sdk": "^1.1.5",
        "yoho-cookie": "^1.2.0",
        "yoho-fastclick": "^1.0.6",
        "yoho-hammer": "^2.0.8",
        "yoho-iscroll": "^5.2.1",
        "yoho-jquery": "^2.2.4",
        "yoho-jquery-lazyload": "^1.9.13",
        "yoho-jquery-qrcode": "^0.14.0",
        "yoho-qs": "^1.0.1",
        "yoho-swiper": "^3.3.2",
        "yoho-swiper2": "0.0.5"
    }
}