forked from magento/pwa-studio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·99 lines (99 loc) · 3.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
{
"name": "@magento/pwa-studio",
"version": "2.1.0",
"private": true,
"workspaces": [
"packages/graphql-cli-validate-magento-pwa-queries",
"packages/peregrine",
"packages/pwa-buildpack",
"packages/venia-concept",
"packages/upward-js",
"packages/upward-spec"
],
"author": "Magento Commerce",
"license": "SEE LICENSE IN LICENSE.txt",
"homepage": "https://github.com/magento-research/pwa-studio",
"bugs": {
"url": "https://github.com/magento-research/pwa-studio/issues"
},
"scripts": {
"build": "yarn workspaces run build",
"build:dev": "yarn workspaces run build:dev",
"clean:all": "yarn workspaces run clean && rimraf ./node_modules",
"clean:dist": "yarn workspaces run clean",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"danger": "danger-ci",
"lint": "eslint '@(packages|scripts)/**/{*.js,package.json}' --ignore-pattern node_modules --ignore-pattern storybook-dist",
"now-build": "cp packages/venia-concept/.env.dist packages/venia-concept/.env && yarn run build",
"now-start": "yarn run stage:venia",
"postbuild": "rimraf \"./packages/*/{esm,dist}/{,**/}__*__\"",
"prettier": "prettier --write '@(packages|scripts)/**/*.@(js|css)' '*.js'",
"prettier:validate": "prettier-check '@(packages|scripts)/**/*.@(js|css)' '*.js'",
"prettier:check": "prettier --list-different '@(packages|scripts)/**/*.@(js|css)' '*.js'",
"stage:venia": "yarn workspace @magento/venia-concept run start; cd - >/dev/null",
"stats:venia": "yarn workspace @magento/venia-concept run build:analyze && yarn workspace @magento/venia-concept run stats",
"storybook:venia": "yarn workspace @magento/venia-concept run storybook",
"test": "jest",
"test:ci": "jest --no-cache -i --json --outputFile=test-results.json",
"test:debug": "node --inspect-brk node_modules/.bin/jest -i --no-cache",
"test:dev": "jest --watch",
"validate-queries": "yarn workspace @magento/venia-concept run validate-queries",
"watch:all": "node scripts/watch-all.js",
"watch:buildpack": "yarn workspace @magento/pwa-buildpack run watch; cd - >/dev/null",
"watch:peregrine": "yarn workspace @magento/peregrine run watch; cd - >/dev/null",
"watch:venia": "yarn workspace @magento/venia-concept run watch; cd - >/dev/null"
},
"devDependencies": {
"@magento/eslint-config": "~1.4.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"
},
"optionalDependencies": {
"bundlesize": "~0.17.1"
},
"engines": {
"node": ">=10.7.0",
"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": "150 kB"
},
{
"path": "./packages/venia-concept/dist/js/[0-9]-*.js",
"maxSize": "21 kB"
}
]
}