-
Notifications
You must be signed in to change notification settings - Fork 57
/
package.json
149 lines (149 loc) · 5.64 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
142
143
144
145
146
147
148
149
{
"name": "storefront-api",
"version": "1.11.0-dev",
"private": true,
"description": "Storefront GraphQL API",
"main": "dist",
"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",
"docs:dev": "vuepress dev docs --port 8090",
"docs:build": "vuepress build docs",
"docs:deploy": "yarn docs:build && now --prod docs",
"start": "pm2 start ecosystem.json $PM2_ARGS",
"db7": "export TS_NODE_PROJECT=\"tsconfig.json\" && ts-node -r tsconfig-paths/register scripts/db7.ts",
"cache": "node ./scripts/cache",
"mage2vs": "node scripts/mage2vs.js",
"restore7": "export TS_NODE_PROJECT=\"tsconfig.json\" && ts-node -r tsconfig-paths/register scripts/elastic7.ts 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",
"dump7": "export TS_NODE_PROJECT=\"tsconfig.json\" && ts-node -r tsconfig-paths/register scripts/elastic7.ts 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",
"lint-gql": "graphql-schema-linter src/**/*.graphqls"
},
"pre-commit": [
"lint",
"lint-gql"
],
"repository": {
"type": "git",
"url": "git+https://github.com/DivanteLtd/storefront-api.git"
},
"author": "Piotr Karwatka <[email protected]>",
"license": "MIT",
"dependencies": {
"@2fd/graphdoc": "^2.4.0",
"@elastic/elasticsearch": "^7.3.0",
"@google-cloud/storage": "^3.0.3",
"@types/cors": "^2.8.6",
"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",
"deepmerge": "^4.2.2",
"elasticdump": "^6.9.1",
"email-check": "^1.1.0",
"express": "^4.16.3",
"fs-extra": "^8.1.0",
"graphql": "^14.5.8",
"graphql-schema-linter": "^0.2.2",
"graphql-tools": "^4.0.6",
"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.7.3",
"migrate": "^1.6.2",
"mime-types": "^2.1.18",
"module-alias": "^2.2.2",
"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.22.1",
"soap": "^0.25.0",
"syswide-cas": "latest",
"tsconfig-paths": "^3.9.0",
"vuepress": "^1.2.0",
"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": "^2.9.12",
"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.7.*"
},
"bugs": {
"url": "https://github.com/DivanteLtd/storefront-api/issues"
},
"homepage": "https://github.com/DivanteLtd/storefront-api/",
"keywords": [
"storefront",
"rest",
"api",
"nodejs"
],
"workspaces": [
"src/api/extensions/*",
"src/platform/*"
],
"_moduleAliases": {
"src": "./src",
"var": "./var",
"lib": "./src/lib",
"package.json": "./package.json"
}
}