-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathpackage.json
105 lines (105 loc) · 4.18 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
{
"name": "fallback-studio",
"version": "4.0.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/babel-preset-peregrine",
"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/pwa-studio/packages/venia-ui",
"src/example-company/example-shop"
],
"storefront": {
"company": "example-company",
"project": "example-shop"
},
"scripts": {
"clean:all": "yarn workspaces run -s clean && rimraf ./node_modules",
"clean:dist": "yarn workspaces run clean",
"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 && rimraf src/pwa-studio/.git && yarn install && yarn run build",
"build": "yarn venia run build && yarn example-shop run build",
"build:dev": "yarn workspaces run build:dev",
"setup": "yarn install && yarn run build",
"stage:example-shop": "yarn example-shop run start",
"watch:venia": "yarn venia run watch",
"watch:example-shop": "yarn example-shop run watch",
"venia": "yarn workspace @magento/venia-concept",
"example-shop": "yarn workspace @fallback-studio/example-shop",
"lint": "eslint 'src/example-company/**/{*.js,package.json}' --ignore-pattern node_modules --ignore-pattern storybook-dist --ignore-pattern dist",
"prettier": "prettier --write 'src/example-company/**/*.@(js|scss)' '*.js'",
"prettier:validate": "prettier-check 'src/example-company/**/*.@(js|scss)' '*.js'",
"prettier:check": "prettier --list-different 'src/example-company/**/*.@(js|scss)' '*.js'",
"test": "jest",
"test:ci": "jest --no-cache -i --json --outputFile=test-results.json",
"test:dev": "jest --watch",
"test:example-shop": "jest --config=example-shop.jest.config.js --no-cache",
"test:ci:example-shop": "jest --config=example-shop.jest.config.js --no-cache -i --json --outputFile=test-results.json",
"test:dev:example-shop": "jest --config=example-shop.jest.config.js --watch"
},
"devDependencies": {
"@magento/eslint-config": "~1.4.1",
"chalk": "~2.4.2",
"chokidar": "~2.1.2",
"coveralls": "~3.0.3",
"danger": "^7.1.4",
"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",
"eslint-plugin-react-hooks": "~1.6.0",
"execa": "~1.0.0",
"figures": "~2.0.0",
"first-run": "~2.0.0",
"graphql-tag": "~2.10.1",
"husky": "~1.3.1",
"identity-obj-proxy": "~3.0.0",
"jest": "~24.3.1",
"jest-fetch-mock": "~2.1.1",
"jest-junit": "~6.3.0",
"jest-transform-graphql": "~2.1.0",
"lerna": "~3.13.0",
"lodash.debounce": "~4.0.8",
"node-sass": "~4.10.0",
"prettier": "~1.16.4",
"prettier-check": "~2.0.0",
"rimraf": "~3.0.0",
"sass-loader": "~7.1.0"
},
"optionalDependencies": {
"bundlesize": "~0.17.1",
"sharp": "~0.22.1"
},
"resolutions": {
"graphql": "~14.3.1"
},
"engines": {
"node": ">=10.x",
"yarn": ">=1.12.0"
},
"husky": {
"hooks": {
"pre-push": "yarn run prettier:validate && yarn run lint"
}
},
"bundlesize": [
{
"path": "./packages/venia-concept/dist/js/{client,vendor}.js",
"maxSize": "250 kB"
},
{
"path": "./packages/venia-concept/dist/js/[0-9]-*.js",
"maxSize": "100 kB"
}
]
}