package.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "name": "@nutui/nutui",
  3. "version": "2.2.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. "build:site": "nutui-cli build-site",
  18. "clean": "nutui-cli clean",
  19. "add": "nutui-cli add",
  20. "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",
  21. "coveralls": "cat ./coverage/lcov.info | coveralls",
  22. "test:watch": "npm run test --watch"
  23. },
  24. "husky": {
  25. "hooks": {
  26. "pre-commit": "node ./scripts/verifymail.js && lint-staged",
  27. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
  28. }
  29. },
  30. "lint-staged": {
  31. "*.{ts,js,vue,scss}": "prettier --write"
  32. },
  33. "repository": {
  34. "type": "git",
  35. "url": "https://github.com/jdf2e/nutui.git"
  36. },
  37. "keywords": [
  38. "nutui",
  39. "nutui2",
  40. "vue",
  41. "webpack",
  42. "vue component",
  43. "jdc",
  44. "jdcfe",
  45. "jdl"
  46. ],
  47. "author": "jdcfe",
  48. "license": "MIT",
  49. "dependencies": {
  50. "@babel/plugin-proposal-object-rest-spread": "^7.9.5",
  51. "@babel/plugin-syntax-jsx": "^7.8.3",
  52. "@babel/plugin-transform-runtime": "^7.9.6",
  53. "@commitlint/cli": "^8.0.0",
  54. "@commitlint/config-conventional": "^8.0.0",
  55. "autoprefixer": "^9.8.4",
  56. "babel-plugin-istanbul": "^6.0.0",
  57. "gsap": "^3.2.6",
  58. "hammerjs": "^2.0.8",
  59. "vue-lazyload": "^1.3.3",
  60. "vue-qr": "^2.2.1"
  61. },
  62. "peerDependencies": {
  63. "vue": "^2.6.10"
  64. },
  65. "devDependencies": {
  66. "@babel/plugin-syntax-dynamic-import": "^7.8.3",
  67. "@babel/plugin-transform-object-assign": "^7.8.3",
  68. "@nutui/cli": "^0.3.9",
  69. "@typescript-eslint/eslint-plugin": "^2.16.0",
  70. "@typescript-eslint/parser": "^2.16.0",
  71. "babel-plugin-transform-object-rest-spread": "^6.26.0",
  72. "eslint-plugin-import": "^2.20.0",
  73. "eslint-plugin-vue": "^6.1.2",
  74. "lint-staged": "^10.2.11",
  75. "husky": "^3.0.0",
  76. "stylelint-config-standard": "^19.0.0"
  77. },
  78. "nyc": {
  79. "include": [
  80. "src/packages/**/*.vue"
  81. ],
  82. "reporter": [
  83. "lcov",
  84. "text"
  85. ],
  86. "instrument": false,
  87. "sourceMap": false
  88. }
  89. }