forked from Jordaneisenburger/fallback-studio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
88 lines (88 loc) · 3.44 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
{
"name": "fallback-studio",
"version": "2.1.0",
"description": "Fallback wrapper for Magento PWA Studio",
"author": "Jordan Eisenburger",
"homepage": "https://github.com/Jordaneisenburger/fallback-studio",
"private": true,
"workspaces": [
"src/pwa-studio/packages/graphql-cli-validate-magento-pwa-queries",
"src/pwa-studio/packages/peregrine",
"src/pwa-studio/packages/pwa-buildpack",
"src/pwa-studio/packages/upward-js",
"src/pwa-studio/packages/upward-spec",
"src/pwa-studio/packages/venia-concept",
"src/example-company/example-shop"
],
"storefront": {
"company": "example-company",
"project": "example-shop"
},
"scripts": {
"clean:pwa-studio": "cd src/pwa-studio && yarn run clean:all",
"clean:example-company": "cd src/$npm_package_storefront_company/$npm_package_storefront_project && yarn run clean && rimraf ./node_modules",
"clean:all": "yarn run clean:pwa-studio && yarn run clean:example-company && rimraf ./node_modules",
"clone:pwa-studio": "cd src && git clone https://github.com/magento-research/pwa-studio.git",
"upgrade:pwa-studio": "rimraf src/pwa-studio && yarn run clone:pwa-studio && yarn run prepare:pwa-studio && yarn run clean:pwa-studio && yarn install && yarn run build",
"prepare:pwa-studio": "cd src/pwa-studio && cp packages/venia-concept/.env.dist packages/venia-concept/.env && rimraf ./.git",
"build": "yarn workspaces run build",
"build:dev": "yarn workspaces run build:dev",
"setup": "yarn install && yarn run prepare:pwa-studio && yarn run build",
"watch:venia-concept": "cd src/pwa-studio && yarn run watch:venia",
"watch:example-shop": "cd src/$npm_package_storefront_company/$npm_package_storefront_project && yarn run -s watch; cd - >/dev/null"
},
"engines": {
"node": ">=10.14.1",
"yarn": ">=1.12.0"
},
"devDependencies": {
"@magento/eslint-config": "~1.3.0",
"babel-eslint": "~10.0.1",
"babel-plugin-module-resolver": "~3.2.0",
"chalk": "~2.4.2",
"chokidar": "~2.1.2",
"coveralls": "~3.0.3",
"danger": "~7.0.14",
"eslint": "~5.14.1",
"eslint-plugin-babel": "~5.3.0",
"eslint-plugin-graphql": "~3.0.3",
"eslint-plugin-jsx-a11y": "~6.2.1",
"eslint-plugin-node": "~8.0.1",
"eslint-plugin-package-json": "~0.1.3",
"eslint-plugin-react": "~7.12.4",
"execa": "~1.0.0",
"figures": "~2.0.0",
"husky": "~1.3.1",
"jest": "~24.3.1",
"jest-fetch-mock": "~2.1.1",
"jest-junit": "~6.3.0",
"jest-transform-graphql": "~2.1.0",
"keypress": "~0.2.1",
"lerna": "~3.13.0",
"lodash.debounce": "~4.0.8",
"multispinner": "~0.2.1",
"prettier": "1.16.4",
"prettier-check": "~2.0.0",
"stream-snitch": "~0.0.3",
"wait-for-expect": "~1.1.0",
"sass-loader": "~7.1.0",
"node-sass": "~4.10.0",
"rimraf": "2.6.2"
},
"resolutions": {
"graphql": "14.1.1"
},
"optionalDependencies": {
"bundlesize": "~0.17.1"
},
"bundlesize": [
{
"path": "./packages/venia-concept/dist/js/{client,vendor}.js",
"maxSize": "150 kB"
},
{
"path": "./packages/venia-concept/dist/js/[0-9]-*.js",
"maxSize": "21 kB"
}
]
}