package.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. {
  2. "name": "@nutui/nutui-jdl",
  3. "version": "1.0.0",
  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. "bootstrap": "yarn || npm i",
  16. "dev": "nutui-cli dev",
  17. "build": "nutui-cli build",
  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/navbar/__test__/**.spec.js",
  22. "coveralls": "cat ./coverage/lcov.info | coveralls",
  23. "test:watch": "npm run test --watch",
  24. "prettier:fix": "prettier --write src/**/*.{js,vue,scss}",
  25. "upload:test": "node test_script/upload.js"
  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. "husky": {
  38. "hooks": {
  39. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
  40. }
  41. },
  42. "lint-staged": {
  43. "src/**/*.{js,vue,scss}": [
  44. "prettier --write src/**/*.{js,vue,scss}",
  45. "git add"
  46. ]
  47. },
  48. "stylelint": {
  49. "extends": [
  50. "./stylelint-config.js"
  51. ]
  52. },
  53. "keywords": [
  54. "nutui",
  55. "nutui2",
  56. "vue",
  57. "webpack",
  58. "vue component",
  59. "jdc",
  60. "jdcfe"
  61. ],
  62. "author": "jdcfe",
  63. "license": "MIT",
  64. "dependencies": {
  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. "babel-plugin-istanbul": "^6.0.0",
  71. "autoprefixer": "^9.8.4",
  72. "gsap": "^3.2.6",
  73. "lodash.clonedeep": "^4.5.0",
  74. "vue-lazyload": "^1.3.3",
  75. "vue-qr": "^2.2.1"
  76. },
  77. "peerDependencies": {
  78. "vue": "^2.6.10"
  79. },
  80. "devDependencies": {
  81. "@babel/plugin-syntax-dynamic-import": "^7.8.3",
  82. "@babel/plugin-transform-object-assign": "^7.8.3",
  83. "@nutui/cli": "^0.3.3",
  84. "@typescript-eslint/eslint-plugin": "^2.16.0",
  85. "@typescript-eslint/parser": "^2.16.0",
  86. "babel-plugin-transform-object-rest-spread": "^6.26.0",
  87. "eslint-plugin-import": "^2.20.0",
  88. "eslint-plugin-vue": "^6.1.2",
  89. "husky": "^3.0.0",
  90. "mutation-observer": "^1.0.3",
  91. "prettier": "^2.0.5",
  92. "stylelint-config-standard": "^19.0.0"
  93. },
  94. "nyc": {
  95. "include": [
  96. "src/packages/**/*.vue"
  97. ],
  98. "reporter": [
  99. "lcov",
  100. "text"
  101. ],
  102. "instrument": false,
  103. "sourceMap": false
  104. }
  105. }