-
Notifications
You must be signed in to change notification settings - Fork 283
/
package.json
103 lines (103 loc) · 3.4 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
{
"name": "hydrogen",
"private": true,
"sideEffects": false,
"scripts": {
"build": "npm run build:pkg",
"build:pkg": "turbo build --parallel --filter=./packages/*",
"build:examples": "turbo build --parallel --filter=./examples/*",
"build:templates": "turbo build --parallel --filter=./templates/*",
"build:all": "npm run build:pkg && npm run build:templates && npm run build:examples",
"ci:checks": "turbo run lint test format:check typecheck",
"dev": "npm run dev:pkg",
"dev:pkg": "turbo dev --parallel --filter=./packages/*",
"dev:app": "cd templates/skeleton && npm run dev --",
"docs:build": "turbo run build-docs",
"docs:preview": "turbo run preview-docs",
"lint": "eslint --no-error-on-unmatched-pattern --ext .js,.ts,.jsx,.tsx ./packages",
"format": "prettier --write --ignore-unknown ./packages",
"format:check": "prettier --check --ignore-unknown ./packages",
"typecheck": "turbo typecheck --parallel",
"typecheck:examples": "turbo typecheck --parallel --filter=./examples/*",
"test": "turbo run test --parallel",
"test:watch": "turbo run test:watch",
"version": "changeset version && npm run version:post",
"version:post": "npm run version:hydrogen && npm run version:cli",
"version:hydrogen": "node -p \"'export const LIB_VERSION = \\'' + require('./packages/hydrogen/package.json').version + '\\';'\" > packages/hydrogen/src/version.ts",
"version:cli": "cd packages/cli && npm run generate:manifest",
"version:next": "node scripts/changeset-version-next.mjs",
"changeset": "changeset",
"clean-all": "rimraf node_modules/.bin && rimraf node_modules/.cache && rimraf packages/*/dist && rimraf templates/*/.cache",
"check": "npm run build && npm run lint && npm run typecheck && npm run test"
},
"workspaces": [
"docs/preview",
"examples/b2b",
"examples/classic-remix",
"examples/custom-cart-method",
"examples/express",
"examples/gtm",
"examples/infinite-scroll",
"examples/legacy-customer-account-flow",
"examples/metaobjects",
"examples/multipass",
"examples/partytown",
"examples/sitemap",
"examples/subscriptions",
"examples/third-party-queries-caching",
"packages/cli",
"packages/create-hydrogen",
"packages/hydrogen-codegen",
"packages/hydrogen-react",
"packages/hydrogen",
"packages/mini-oxygen",
"packages/remix-oxygen",
"templates/skeleton"
],
"prettier": "@shopify/prettier-config",
"dependencies": {
"@shopify/cli-hydrogen": "*"
},
"devDependencies": {
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.0",
"@playwright/test": "^1.40.1",
"@shopify/cli": "~3.72.0",
"@types/eslint": "^8.4.10",
"cross-env": "^7.0.3",
"eslint": "^8.20.0",
"lint-staged": "^10.5.4",
"prettier": "^2.8.4",
"rimraf": "^3.0.2",
"tiny-invariant": "^1.3.1",
"tsup": "8.1.0",
"turbo": "1.12.0",
"typescript": "^5.2.2",
"yorkie": "^2.0.0"
},
"engines": {
"node": ">=18.0.0"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,jsx}": [
"prettier --write"
],
"*.{ts,tsx}": [
"npm run lint --",
"prettier --parser=typescript --write"
],
"*.html": [
"prettier --write"
],
"*.css": [
"prettier --write"
]
},
"overrides": {
"@oclif/core": "3.26.5",
"@shopify/cli-kit": "3.72.0"
}
}