-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
58 lines (58 loc) · 1.9 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
{
"name": "blocks",
"version": "1.1.7",
"description": "Libraries for building custom storefronts with BRIKL",
"repository": "https://github.com/Brikl/blocks",
"author": "Phumrapee Limpianchop <contact@rayriffy.com>",
"license": "MIT",
"private": true,
"workspaces": [
"packages/*"
],
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,gql,graphql,json}": [
"prettier --write",
"git add"
]
},
"scripts": {
"build:modules": "yarn build:js && yarn build:react",
"build:next": "yarn build:modules && cd examples/with-nextjs && yarn && yarn build && cd ../..",
"build:next-static": "yarn build:modules && cd examples/with-nextjs-static && yarn && yarn build && yarn export && cd ../..",
"build:js": "yarn workspace @brikl/blocks build",
"build:react": "yarn workspace @brikl/blocks-react build",
"dev:next": "yarn workspace @brikl/next dev",
"dev:js": "yarn workspace @brikl/blocks dev",
"dev:react": "yarn workspace @brikl/blocks-react dev",
"publish:js": "yarn workspace @brikl/blocks publish --access public",
"publish:react": "yarn workspace @brikl/blocks-react publish --access public"
},
"devDependencies": {
"@graphql-codegen/cli": "^2.3.1",
"@graphql-codegen/typed-document-node": "^2.2.2",
"@graphql-codegen/typescript": "^2.4.2",
"@graphql-codegen/typescript-operations": "^2.2.2",
"@graphql-typed-document-node/core": "^3.1.1",
"esbuild-node-externals": "^1.3.0",
"lint-staged": "^11.1.2",
"prettier": "^2.3.2",
"react-dom": "^17.0.2",
"typescript": "^4.4.2"
},
"dependencies": {
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"graphql": "^16.2.0",
"next": "^11.1.2",
"react": "^18.1.0"
},
"peerDependencies": {
"react": ">= 16.0.0"
}
}