您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

package.json 2.6 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {
  2. "name": "lesspass",
  3. "version": "1.0.0",
  4. "description": "lesspass is like keepass without the need to persist passwords",
  5. "main": "app/app.js",
  6. "scripts": {
  7. "test": "mocha --compilers js:babel-core/register tests",
  8. "test:watch": "npm run test -- -w",
  9. "lint": "jshint app/**",
  10. "build:production": "npm prune && npm install && npm run lint && npm test && npm run build",
  11. "build": "npm-run-all clean copy:favicons build:static build:app",
  12. "clean": "rimraf dist && mkdir dist",
  13. "copy:favicons": "cpy 'static/favicons/*' dist/",
  14. "build:static": "npm-run-all copy:html copy:images build:css",
  15. "copy:html": "cpy 'static/*.html' dist",
  16. "copy:images": "cpy 'static/images/*.png' dist/images/",
  17. "build:css": "node-sass static/css/styles.scss dist/css/styles.css",
  18. "build:app": "browserify -e ./app/app.js -o ./dist/app.js",
  19. "prestart": "npm run build",
  20. "start": "npm-run-all --parallel serve watch:static watch:app",
  21. "serve": "static dist",
  22. "watch:static": "watch 'npm run build:static' static",
  23. "watch:app": "watchify -dv -e ./app/app.js -o ./dist/app.js"
  24. },
  25. "repository": {
  26. "type": "git",
  27. "url": "git+ssh://git@github.com/guillaumevincent/lesspass.git"
  28. },
  29. "keywords": [
  30. "keepass",
  31. "lesspass"
  32. ],
  33. "author": "Guillaume Vincent",
  34. "license": "MIT",
  35. "bugs": {
  36. "url": "https://github.com/guillaumevincent/lesspass/issues"
  37. },
  38. "homepage": "https://github.com/guillaumevincent/lesspass#readme",
  39. "dependencies": {
  40. "bootstrap": "^4.0.0-alpha.2",
  41. "clipboard": "^1.5.5"
  42. },
  43. "devDependencies": {
  44. "babel-core": "^6.3.26",
  45. "babel-plugin-transform-runtime": "^6.3.13",
  46. "babel-preset-es2015": "^6.3.13",
  47. "babel-runtime": "^5.8.34",
  48. "babelify": "latest",
  49. "browserify": "latest",
  50. "cpy": "latest",
  51. "jshint": "latest",
  52. "mocha": "latest",
  53. "node-sass": "latest",
  54. "node-static": "latest",
  55. "nodemon": "latest",
  56. "npm-run-all": "latest",
  57. "rimraf": "latest",
  58. "vue": "^1.0.12",
  59. "vue-hot-reload-api": "^1.2.2",
  60. "vueify": "^8.0.0",
  61. "vueify-insert-css": "^1.0.0",
  62. "watch": "latest",
  63. "watchify": "latest"
  64. },
  65. "babel": {
  66. "presets": [
  67. "es2015"
  68. ]
  69. },
  70. "browserify": {
  71. "transform": [
  72. [
  73. "babelify",
  74. {
  75. "presets": [
  76. "es2015"
  77. ],
  78. "plugins": [
  79. "transform-runtime"
  80. ]
  81. }
  82. ],
  83. [
  84. "vueify",
  85. {
  86. "presets": [
  87. "es2015"
  88. ],
  89. "plugins": [
  90. "transform-runtime"
  91. ]
  92. }
  93. ]
  94. ]
  95. },
  96. "jshintConfig": {
  97. "esnext": true
  98. }
  99. }