package.json 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. {
  2. "name": "@nutui/nutui",
  3. "version": "2.2.4",
  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. "prettier:check": "prettier -l {lib,src}/**/**/*.{ts,js,vue,scss}",
  25. "prettier:fix": "prettier --write {lib,src}/**/**/*.{ts,js,vue,scss}"
  26. },
  27. "repository": {
  28. "type": "git",
  29. "url": "https://github.com/jdf2e/nutui.git"
  30. },
  31. "eslintConfig": {
  32. "root": true,
  33. "extends": [
  34. "./eslint-config.js"
  35. ]
  36. },
  37. "stylelint": {
  38. "extends": [
  39. "./stylelint-config.js"
  40. ]
  41. },
  42. "keywords": [
  43. "nutui",
  44. "nutui2",
  45. "vue",
  46. "webpack",
  47. "vue component",
  48. "jdc",
  49. "jdcfe"
  50. ],
  51. "author": "jdcfe",
  52. "license": "MIT",
  53. "dependencies": {
  54. "@babel/plugin-proposal-object-rest-spread": "^7.9.5",
  55. "@babel/plugin-syntax-jsx": "^7.8.3",
  56. "@babel/plugin-transform-runtime": "^7.9.6",
  57. "@commitlint/cli": "^8.0.0",
  58. "@commitlint/config-conventional": "^8.0.0",
  59. "@nutui/cli": "^0.1.9",
  60. "@vue/composition-api": "^0.5.0",
  61. "babel-plugin-istanbul": "^6.0.0",
  62. "gsap": "^3.2.6",
  63. "husky": "^3.0.0",
  64. "vue-lazyload": "^1.3.3",
  65. "vue-qr": "^2.2.1"
  66. },
  67. "peerDependencies": {
  68. "vue": "^2.6.10"
  69. },
  70. "devDependencies": {
  71. "@babel/plugin-syntax-dynamic-import": "^7.8.3",
  72. "@babel/plugin-transform-object-assign": "^7.8.3",
  73. "@typescript-eslint/eslint-plugin": "^2.16.0",
  74. "@typescript-eslint/parser": "^2.16.0",
  75. "babel-plugin-transform-object-rest-spread": "^6.26.0",
  76. "eslint-plugin-import": "^2.20.0",
  77. "eslint-plugin-vue": "^6.1.2",
  78. "stylelint-config-standard": "^19.0.0"
  79. },
  80. "nyc": {
  81. "include": [
  82. "src/packages/**/*.vue"
  83. ],
  84. "reporter": [
  85. "lcov",
  86. "text"
  87. ],
  88. "instrument": false,
  89. "sourceMap": false
  90. }
  91. }