package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. {
  2. "name": "@nutui/nutui",
  3. "version": "2.2.15",
  4. "description": "一套轻量级移动端Vue组件库",
  5. "typings": "dist/types/index.d.ts",
  6. "main": "dist/nutui.js",
  7. "files": [
  8. "dist",
  9. "README.md",
  10. "package.json",
  11. "LICENSE",
  12. "CHANGELOG.md"
  13. ],
  14. "scripts": {
  15. "dev": "nutui-cli dev",
  16. "build": "nutui-cli build",
  17. "release": "standard-version -a",
  18. "build:site": "nutui-cli build-site",
  19. "clean": "nutui-cli clean",
  20. "add": "nutui-cli add",
  21. "test": "cross-env NODE_ENV=test nyc mocha-webpack --webpack-config node_modules/@nutui/cli/dist_cli/webpack/test.config.js --require node_modules/@nutui/cli/dist_cli/test/setup.js src/packages/**/__test__/**.spec.js",
  22. "coveralls": "cat ./coverage/lcov.info | coveralls",
  23. "test:watch": "npm run test --watch"
  24. },
  25. "husky": {
  26. "hooks": {
  27. "pre-commit": "node ./scripts/verifymail.js && lint-staged",
  28. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
  29. }
  30. },
  31. "lint-staged": {
  32. "*.{ts,js,vue,scss}": "prettier --write"
  33. },
  34. "repository": {
  35. "type": "git",
  36. "url": "https://github.com/jdf2e/nutui.git"
  37. },
  38. "standard-version": {
  39. "scripts": {
  40. "postchangelog": "node ./scripts/updateChangelog.js"
  41. }
  42. },
  43. "keywords": [
  44. "nutui",
  45. "nutui2",
  46. "vue",
  47. "webpack",
  48. "vue component",
  49. "jdc",
  50. "jdcfe",
  51. "jdl"
  52. ],
  53. "author": "jdcfe",
  54. "license": "MIT",
  55. "dependencies": {
  56. "@babel/plugin-proposal-object-rest-spread": "^7.9.5",
  57. "@babel/plugin-syntax-jsx": "^7.8.3",
  58. "@babel/plugin-transform-runtime": "^7.9.6",
  59. "@commitlint/cli": "^8.0.0",
  60. "@commitlint/config-conventional": "^8.0.0",
  61. "autoprefixer": "^9.8.4",
  62. "babel-plugin-istanbul": "^6.0.0",
  63. "gsap": "^3.2.6",
  64. "hammerjs": "^2.0.8",
  65. "standard-version": "^9.1.0",
  66. "vue-lazyload": "^1.3.3",
  67. "vue-qr": "^2.2.1"
  68. },
  69. "peerDependencies": {
  70. "vue": "^2.6.10"
  71. },
  72. "devDependencies": {
  73. "@babel/plugin-syntax-dynamic-import": "^7.8.3",
  74. "@babel/plugin-transform-object-assign": "^7.8.3",
  75. "@nutui/cli": "^0.4.1",
  76. "@typescript-eslint/eslint-plugin": "^2.16.0",
  77. "@typescript-eslint/parser": "^2.16.0",
  78. "babel-plugin-transform-object-rest-spread": "^6.26.0",
  79. "eslint-plugin-import": "^2.20.0",
  80. "eslint-plugin-vue": "^6.1.2",
  81. "husky": "^3.0.0",
  82. "lint-staged": "^10.2.11",
  83. "stylelint-config-standard": "^19.0.0"
  84. },
  85. "nyc": {
  86. "include": [
  87. "src/packages/**/*.vue"
  88. ],
  89. "reporter": [
  90. "lcov",
  91. "text"
  92. ],
  93. "instrument": false,
  94. "sourceMap": false
  95. }
  96. }