forked from vuestorefront/vue-storefront-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
141 lines (141 loc) · 5.55 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"name": "vue-storefront-api",
"version": "1.11.1",
"private": true,
"description": "vue-storefront API and data services",
"main": "dist",
"engines": {
"node": ">=10.x"
},
"scripts": {
"dev": "nodemon",
"dev:inspect": "nodemon --exec \"node --inspect -r ts-node/register src\"",
"build": "npm run -s build:code && npm run -s build:copy:graphql && npm run -s build:copy:schema",
"build:code": "tsc --build",
"build:copy:graphql": "cpx src/**/*.graphqls dist",
"build:copy:schema": "cpx 'src/**/*.schema*.json' dist",
"start": "pm2 start ecosystem.json $PM2_ARGS",
"db": "node scripts/db.js",
"db7": "node scripts/db7.js",
"cache": "node ./scripts/cache",
"mage2vs": "node scripts/mage2vs.js",
"restore": "node scripts/elastic.js restore && npm run db rebuild",
"restore7": "node scripts/elastic7.js restore --output-index=vue_storefront_catalog && npm run db7 rebuild --indexName=vue_storefront_catalog",
"restore7_it": "npm run restore7 -- --input-file=var/catalog_it.json --output-index=vue_storefront_catalog_it && npm run db7 rebuild -- --indexName=vue_storefront_catalog_it",
"restore7_de": "npm run restore7 -- --input-file=var/catalog_de.json --output-index=vue_storefront_catalog_de && npm run db7 rebuild -- --indexName=vue_storefront_catalog_de",
"restore_it": "npm run restore -- --input-file=var/catalog_it.json --output-index=vue_storefront_catalog_it && npm run db rebuild -- --indexName=vue_storefront_catalog_it",
"restore_de": "npm run restore -- --input-file=var/catalog_de.json --output-index=vue_storefront_catalog_de && npm run db rebuild -- --indexName=vue_storefront_catalog_de",
"restore2main": "npm run restore -- --output-index=vue_storefront_catalog",
"dump": "node scripts/elastic.js dump",
"dump_it": "npm run dump -- --input-index=vue_storefront_catalog_it --output-file=var/catalog_it.json",
"dump_de": "npm run dump -- --input-index=vue_storefront_catalog_de --output-file=var/catalog_de.json",
"dump7": "node scripts/elastic7.js dump",
"dump7_it": "npm run dump7 -- --input-index=vue_storefront_catalog_it --output-file=var/catalog_it.json",
"dump7_de": "npm run dump7 -- --input-index=vue_storefront_catalog_de --output-file=var/catalog_de.json",
"kue": "node scripts/kue.js",
"kue-dashboard": "npm run kue dashboard -- --port=3050",
"o2m": "node src/worker/order_to_magento2.js start",
"o2m-anon": "node src/worker/order_to_magento2.js testAnon",
"o2m-auth": "node src/worker/order_to_magento2.js testAuth",
"o2m-dev": "nodemon -w src/worker/order_to_magento2.js --exec \"node src/worker/order_to_magento2.js\"",
"migrate": "node node_modules/migrate/bin/migrate",
"prestart": "npm run -s build",
"test": "eslint src",
"test:unit": "jest -c test/unit/jest.conf.js",
"setup": "npm run restore; npm run migrate",
"lint": "eslint --ext .js,.ts src migrations scripts --fix"
},
"pre-commit": [
"lint"
],
"repository": {
"type": "git",
"url": "git+https://github.com/DivanteLtd/vue-storefront-api.git"
},
"author": "Piotr Karwatka <[email protected]>",
"license": "MIT",
"dependencies": {
"@elastic/elasticsearch": "^7.3.0",
"@google-cloud/storage": "^3.0.3",
"ajv": "^6.4.0",
"ajv-keywords": "^3.4.0",
"body-parser": "^1.18.2",
"bodybuilder": "2.2.13",
"commander": "^2.19.0",
"compression": "^1.7.2",
"config": "^1.30.0",
"cors": "^2.8.4",
"elasticdump": "^6.9.1",
"email-check": "^1.1.0",
"express": "^4.16.3",
"fs-extra": "^8.1.0",
"graphql": "^0.13.1",
"graphql-tools": "^1.2.1",
"humps": "^1.1.0",
"js-sha3": "^0.8.0",
"jsonfile": "^4.0.0",
"jwa": "^1.1.5",
"jwt-simple": "^0.5.1",
"kue": "^0.11.6",
"lodash": "^4.17.10",
"mage2vuestorefront": "git+https://github.com/DivanteLtd/mage2vuestorefront.git",
"magento1-vsbridge-client": "github:DivanteLtd/magento1-vsbridge-client",
"magento2-rest-client": "github:DivanteLtd/magento2-rest-client",
"md5": "^2.2.1",
"merge-graphql-schemas": "^1.5.2",
"migrate": "^1.6.2",
"mime-types": "^2.1.18",
"morgan": "^1.9.0",
"nodemailer": "^4.6.8",
"oauth-1.0a": "^1.0.1",
"pm2": "^2.10.4",
"query-string": "^6.8.3",
"redis-tag-cache": "^1.2.1",
"request": "^2.85.0",
"request-promise-native": "^1.0.5",
"resource-router-middleware": "^0.6.0",
"sharp": "^0.23.4",
"soap": "^0.25.0",
"syswide-cas": "latest",
"winston": "^2.4.2"
},
"devDependencies": {
"@types/body-parser": "^1.17.0",
"@types/config": "^0.0.34",
"@types/express": "^4.16.1",
"@types/jest": "^24.0.11",
"@types/node": "^11.13.4",
"@typescript-eslint/eslint-plugin": "^1.7.1-alpha.17",
"@typescript-eslint/parser": "^1.7.1-alpha.17",
"apollo-server-express": "^1.3.6",
"cpx": "^1.5.0",
"eslint": "^5.0.0",
"eslint-config-standard": "^11.0.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.7.0",
"eslint-plugin-standard": "^3.1.0",
"eslint-plugin-vue-storefront": "^0.0.1",
"jest": "^24.8.0",
"nodemon": "^1.18.7",
"pre-commit": "^1.2.2",
"ts-jest": "^24.0.2",
"ts-node": "^8.1.0",
"tslib": "^1.9.3",
"typescript": "3.3.*"
},
"bugs": {
"url": "https://github.com/DivanteLtd/vue-storefront-api/issues"
},
"homepage": "https://github.com/DivanteLtd/vue-storefront-api/",
"keywords": [
"storefront",
"rest",
"api",
"nodejs"
],
"workspaces": [
"src/api/extensions/*",
"src/platform/*"
]
}