package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. {
  2. "name": "@nutui/nutui",
  3. "version": "2.3.13",
  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. "publish-npm": "npm publish --tag=old",
  20. "clean": "nutui-cli clean",
  21. "add": "nutui-cli add",
  22. "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",
  23. "coveralls": "cat ./coverage/lcov.info | coveralls",
  24. "test:watch": "npm run test --watch"
  25. },
  26. "husky": {
  27. "hooks": {
  28. "pre-commit": "node ./scripts/verifymail.js && lint-staged",
  29. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
  30. }
  31. },
  32. "lint-staged": {
  33. "*.{ts,js,vue,scss}": "prettier --write"
  34. },
  35. "repository": {
  36. "type": "git",
  37. "url": "https://github.com/jdf2e/nutui.git"
  38. },
  39. "standard-version": {
  40. "scripts": {
  41. "postchangelog": "node ./scripts/updateChangelog.js"
  42. }
  43. },
  44. "keywords": [
  45. "nutui",
  46. "nutui2",
  47. "vue",
  48. "webpack",
  49. "vue component",
  50. "jdc",
  51. "jdcfe",
  52. "jdl"
  53. ],
  54. "author": "jdcfe",
  55. "license": "MIT",
  56. "dependencies": {
  57. "gsap": "^3.2.6",
  58. "hammerjs": "^2.0.8",
  59. "vue-lazyload": "^1.3.3"
  60. },
  61. "peerDependencies": {
  62. "vue": "^2.6.10"
  63. },
  64. "devDependencies": {
  65. "@babel/plugin-proposal-object-rest-spread": "^7.9.5",
  66. "@babel/plugin-syntax-jsx": "^7.8.3",
  67. "@babel/plugin-transform-runtime": "^7.9.6",
  68. "@commitlint/cli": "^8.0.0",
  69. "@commitlint/config-conventional": "^8.0.0",
  70. "autoprefixer": "^9.8.4",
  71. "babel-plugin-istanbul": "^6.0.0",
  72. "standard-version": "^9.1.0",
  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. }