package.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name": "@nutui/nutui",
  3. "version": "2.2.1",
  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. "lint": "nutui-cli lint",
  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. "repository": {
  26. "type": "git",
  27. "url": "https://github.com/jdf2e/nutui.git"
  28. },
  29. "eslintConfig": {
  30. "root": true,
  31. "extends": [
  32. "./eslint-config.js"
  33. ]
  34. },
  35. "stylelint": {
  36. "extends": [
  37. "./stylelint-config.js"
  38. ]
  39. },
  40. "keywords": [
  41. "nutui",
  42. "nutui2",
  43. "nutui3",
  44. "vue",
  45. "webpack",
  46. "vue component",
  47. "jdc",
  48. "jdcfe"
  49. ],
  50. "author": "jdcfe",
  51. "license": "MIT",
  52. "dependencies": {
  53. "@commitlint/cli": "^8.0.0",
  54. "@commitlint/config-conventional": "^8.0.0",
  55. "@nutui/cli": "^0.0.8",
  56. "husky": "^3.0.0",
  57. "vue-lazyload": "^1.3.3"
  58. },
  59. "peerDependencies": {
  60. "vue": "^2.6.10"
  61. },
  62. "devDependencies": {
  63. "eslint-plugin-vue": "^6.1.2",
  64. "stylelint-config-standard": "^19.0.0"
  65. },
  66. "nyc": {
  67. "include": [
  68. "../../../src/packages/**/*.vue"
  69. ],
  70. "reporter": [
  71. "lcov",
  72. "text"
  73. ],
  74. "instrument": false,
  75. "sourceMap": false
  76. },
  77. "browserslist": [
  78. "> 3%",
  79. "Android >= 4",
  80. "iOS >= 8"
  81. ]
  82. }