-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
156 lines (156 loc) · 5.95 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
150
151
152
153
154
155
156
{
"name": "shopify_theme_challenge",
"version": "0.1.0",
"description": "Referred to Kazuki-tam/shopify-quick-theme and the predecessors of Oikaze",
"author": "Naosuke Wakahara",
"license": "MIT",
"scripts": {
"start": "npm-run-all -p theme:serve webpack:watch",
"build": "npm-run-all webpack:prd",
"build:dev": "npm-run-all webpack:dev",
"deploy": "npm-run-all webpack:prd push",
"deploy:dev": "npm-run-all webpack:dev push:dev",
"cheat": "opener https://www.shopify.com/partners/shopify-cheat-sheet",
"clean": "rimraf ./shopify",
"clean:unused": "rimraf ./shopify/.gitignore",
"lint": "npm-run-all -p eslint stylelint theme:check",
"fix": "npm-run-all fix:style fix:script",
"format:style": "prettier --write 'src/**/*.scss'",
"format:script": "prettier --write 'src/**/*.{js,ts}'",
"stylelint": "stylelint --fix 'src/**/*.{css,scss}'",
"eslint": "eslint --fix 'src/**/*.{js,jsx,ts,tsx}'",
"fix:style": "npm-run-all format:style stylelint",
"fix:script": "npm-run-all format:script eslint",
"checkLicense": "license-checker --production",
"test": "npm-run-all -p unit e2e",
"unit": "jest --config .config/jest.config.ts",
"unit:watch": "jest --watch --config .config/jest.config.ts",
"e2e": "playwright test --config .config/playwright.config.ts",
"e2e:headed": "playwright test --headed --config .config/playwright.config.ts",
"e2e:install": "playwright install",
"e2e:codegen": "playwright codegen --config .config/playwright.config.ts",
"postInstall": "typesync",
"webpack:watch": "export NODE_ENV=development && webpack --config webpack.dev.config.ts --watch",
"webpack:dev": "export NODE_ENV=development && webpack --config webpack.dev.config.ts",
"webpack:prd": "export NODE_ENV=production && webpack --config webpack.production.config.ts",
"newTheme": "npm-run-all theme:init clean:unused",
"pull": "cd shopify && shopify2 theme pull -n",
"pull:new": "mkdir shopify && cd shopify && shopify2 theme pull",
"pull:dev": "cd shopify && shopify2 theme pull -d",
"push": "cd shopify && shopify2 theme push -n",
"push:dev": "cd shopify && shopify2 theme push -d",
"push:upload": "cd shopify && shopify2 theme push -u",
"share": "cd shopify && shopify2 theme share",
"store": "shopify2 store",
"package": "npm-run-all theme:package",
"preview": "shopify2 theme open",
"products": "shopify2 populate products",
"customers": "shopify2 populate customers",
"draftorders": "shopify2 populate draftorders",
"theme:init": "shopify2 theme init shopify",
"theme:serve": "cd shopify && shopify2 theme serve --theme-editor-sync",
"theme:list": "shopify2 theme list",
"theme:package": "cd shopify && shopify2 theme package",
"theme:check": "cd shopify && shopify2 theme check -a"
},
"devDependencies": {
"@babel/core": "^7.19.3",
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.19.4",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@playwright/test": "^1.27.1",
"@types/dotenv-safe": "^8.1.2",
"@types/jest": "^29.1.2",
"@types/license-checker": "^25.0.3",
"@types/node": "^18.11.0",
"@types/opener": "^1.4.0",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"@types/rimraf": "^3.0.2",
"@types/webpack": "^5.28.0",
"@types/webpack-env": "^1.18.0",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.1",
"autoprefixer": "^10.4.12",
"babel-loader": "^8.2.5",
"browser-sync": "^2.27.10",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^11.0.0",
"core-js": "^3.25.5",
"cross-env": "^7.0.3",
"css-loader": "^6.7.1",
"css-minimizer-webpack-plugin": "^4.2.2",
"cssnano": "^5.1.13",
"del": "^7.0.0",
"dotenv": "^16.0.3",
"dotenv-cli": "^6.0.0",
"dotenv-expand": "^9.0.0",
"eslint": "^8.25.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.2",
"eslint-plugin-playwright": "^0.11.2",
"file-loader": "^6.2.0",
"fs": "^0.0.1-security",
"globule": "^1.3.4",
"husky": "^8.0.1",
"jest": "^29.2.0",
"license-checker": "^25.0.1",
"lint-staged": "^13.0.3",
"mini-css-extract-plugin": "^2.6.1",
"npm-run-all": "^4.1.5",
"opener": "^1.5.2",
"path": "^0.12.7",
"postcss": "^8.4.18",
"postcss-assets": "^6.0.0",
"postcss-loader": "^7.0.1",
"prettier": "^2.7.1",
"prettier-eslint-cli": "^7.1.0",
"prettier-stylelint": "^0.4.2",
"pug": "^3.0.2",
"pug-loader": "^2.4.0",
"remove-files-webpack-plugin": "^1.5.0",
"rimraf": "^3.0.2",
"sass": "^1.55.0",
"sass-loader": "^13.1.0",
"style-loader": "^3.3.1",
"stylelint": "^14.14.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-prettier-scss": "^0.0.1",
"stylelint-config-recommended": "^9.0.0",
"stylelint-config-recommended-scss": "^7.0.0",
"stylelint-order": "^5.0.0",
"stylelint-scss": "^4.3.0",
"svg-sprite-loader": "^6.0.11",
"svg-transform-loader": "^2.0.13",
"svgo": "^2.8.0",
"svgo-loader": "^3.0.1",
"ts-jest": "^29.0.3",
"ts-loader": "^9.4.1",
"ts-node": "^10.9.1",
"tsconfig-paths-webpack-plugin": "^4.0.0",
"typescript": "^4.8.4",
"typesync": "^0.9.2",
"url": "^0.11.0",
"url-loader": "^4.1.1",
"watch": "^1.0.2",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-fix-style-only-entries": "^0.6.1",
"webpack-merge": "^5.8.0",
"webpack-notifier": "^1.15.0",
"webpack-remove-empty-scripts": "^1.0.1",
"yarn-audit-fix": "^9.3.6"
},
"dependencies": {
"@shopify/react-form": "^2.4.0",
"bowser": "^2.11.0",
"intersection-observer": "^0.12.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"swiper": "^8.4.4",
"web-animations-js": "^2.3.2"
}
}