UNPKG

4.26 kBJSONView Raw
1{
2 "name": "buttercup",
3 "version": "4.1.0",
4 "description": "A NodeJS password vault.",
5 "main": "dist/index.node.js",
6 "types": "dist/index.d.ts",
7 "contributors": [
8 {
9 "name": "Perry Mitchell",
10 "email": "perry@perrymitchell.net"
11 },
12 {
13 "name": "Sallar Kaboli",
14 "email": "sallar.kaboli@gmail.com"
15 }
16 ],
17 "scripts": {
18 "analyse": "ANALYSE=bundle npm run build",
19 "build": "run-s clean build:node build:web build:types",
20 "build:node": "babel source --out-dir dist --minified --delete-dir-on-start --verbose",
21 "build:node:test": "babel source --out-dir dist --delete-dir-on-start --verbose",
22 "build:types": "./scripts/generate_dts.sh",
23 "build:web": "webpack --mode=production",
24 "clean": "rimraf ./dist && rimraf ./web",
25 "dev": "concurrently -k 'npm run dev:node' 'npm run dev:web'",
26 "dev:node": "babel source --out-dir dist --verbose --watch",
27 "dev:web": "webpack --mode=development --watch",
28 "docs": "npm run generate:docs",
29 "format": "prettier --write '{source,test}/**/*.js'",
30 "generate:docs": "jsdoc2md 'source/**/*.js' > API.md",
31 "generate:vault": "npm run build:node && node scripts/generate_test_vault.js",
32 "prepublishOnly": "run-s build",
33 "test": "run-s test:node test:web test:format",
34 "test:format": "prettier-check '{source,test}/**/*.js'",
35 "test:integration": "npm run build:node:test && mocha -r test/index.js 'test/integration/**/*.spec.js'",
36 "test:integration:watch": "nodemon --exec 'npm run test:integration'",
37 "test:node": "npm run build:node:test && nyc mocha -r test/index.js 'test/{unit,integration}/**/*.spec.js'",
38 "test:unit": "npm run build:node:test && mocha -r test/index.js 'test/unit/**/*.spec.js'",
39 "test:unit:watch": "nodemon --exec 'npm run test:unit'",
40 "test:web": "karma start",
41 "test:web:production": "BUNDLE=production karma start"
42 },
43 "files": [
44 "dist/**/*.js",
45 "dist/**/*.d.ts",
46 "web/**/*.js",
47 "web/**/*.d.ts",
48 "*.md"
49 ],
50 "lint-staged": {
51 "{source,test}/**/*.js": [
52 "prettier --write"
53 ]
54 },
55 "husky": {
56 "hooks": {
57 "pre-commit": "lint-staged"
58 }
59 },
60 "repository": {
61 "type": "git",
62 "url": "git+https://github.com/buttercup/buttercup-core"
63 },
64 "keywords": [
65 "password",
66 "vault",
67 "credentials",
68 "login",
69 "secure",
70 "buttercup"
71 ],
72 "author": "Perry Mitchell <perry@perrymitchell.net>",
73 "license": "MIT",
74 "bugs": {
75 "url": "https://github.com/buttercup/buttercup-core/issues"
76 },
77 "homepage": "https://github.com/buttercup/buttercup-core#readme",
78 "dependencies": {
79 "@buttercup/channel-queue": "^0.5.0",
80 "@buttercup/dropbox-client": "^0.4.0",
81 "@buttercup/googledrive-client": "^0.8.0",
82 "cowl": "^0.8.0",
83 "eventemitter3": "^4.0.4",
84 "foreachasync": "^5.1.3",
85 "fuse.js": "^2.7.4",
86 "global": "^4.4.0",
87 "gzip-js": "^0.3.2",
88 "hash.js": "^1.1.7",
89 "iocane": "^4.1.0",
90 "is-promise": "^4.0.0",
91 "js-base64": "^2.5.2",
92 "url-join": "^4.0.1",
93 "uuid": "^8.1.0",
94 "verror": "^1.10.0",
95 "webdav": "^3.3.0"
96 },
97 "devDependencies": {
98 "@babel/cli": "^7.10.1",
99 "@babel/core": "^7.10.2",
100 "@babel/plugin-proposal-class-properties": "^7.10.1",
101 "@babel/plugin-proposal-object-rest-spread": "^7.10.1",
102 "@babel/preset-env": "^7.10.2",
103 "@types/node": "^14.0.6",
104 "babel-loader": "^8.1.0",
105 "chai": "^4.2.0",
106 "concurrently": "^5.2.0",
107 "husky": "^4.2.5",
108 "istanbul": "^0.4.5",
109 "istanbul-instrumenter-loader": "^3.0.0",
110 "jsdoc-to-markdown": "^5.0.3",
111 "karma": "^5.0.9",
112 "karma-chrome-launcher": "^3.1.0",
113 "karma-coverage": "^2.0.2",
114 "karma-mocha": "^2.0.1",
115 "karma-sinon": "^1.0.5",
116 "karma-spec-reporter": "0.0.32",
117 "karma-webpack": "^4.0.2",
118 "lint-staged": "^10.2.7",
119 "mocha": "^7.2.0",
120 "nodemon": "^2.0.4",
121 "npm-run-all": "^4.1.1",
122 "null-loader": "^4.0.0",
123 "nyc": "^15.0.1",
124 "prettier": "^1.19.1",
125 "prettier-check": "^2.0.0",
126 "rimraf": "^3.0.2",
127 "sinon": "^9.0.2",
128 "sleep-promise": "^8.0.1",
129 "typescript": "^3.9.3",
130 "webpack": "^4.43.0",
131 "webpack-bundle-analyzer": "^3.8.0",
132 "webpack-cli": "^3.3.11"
133 }
134}