package.json 1.2 KB
Newer Older
雪洛's avatar
雪洛 已提交
1 2
{
  "name": "@dcloudio/uni-id-common",
雪洛's avatar
1.0.2  
雪洛 已提交
3
  "version": "1.0.2",
雪洛's avatar
雪洛 已提交
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
  "description": "uni-id token生成、校验、刷新",
  "main": "dist/index.js",
  "homepage": "https://uniapp.dcloud.io/uniCloud/uni-id-common.html",
  "repository": {
    "type": "git",
    "url": "git+https://gitee.com/dcloud/uni-id-common.git"
  },
  "scripts": {
    "lint": "eslint --fix src build",
    "build": "npm run lint && rollup -c build/rollup.config.js --environment NODE_ENV:production && node script/sync-package.js",
    "dev": "rollup -c build/rollup.config.js --environment NODE_ENV:development"
  },
  "author": "DCloud",
  "license": "Apache-2.0",
  "devDependencies": {
    "@rollup/plugin-commonjs": "^11.1.0",
    "@rollup/plugin-json": "^4.1.0",
    "@rollup/plugin-node-resolve": "^7.1.3",
    "eslint": "^6.8.0",
    "eslint-config-standard": "^14.1.0",
    "eslint-plugin-import": "^2.19.1",
    "eslint-plugin-node": "^11.0.0",
    "eslint-plugin-promise": "^4.2.1",
    "eslint-plugin-standard": "^4.0.1",
    "husky": "^8.0.1",
    "rollup": "^1.28.0",
    "rollup-plugin-terser": "^5.1.3"
  },
  "husky": {
    "hooks": {
      "pre-commit": "npm run lint",
      "commit-msg": "node script/check-commit-msg.js"
    }
  }
}