forked from vercel/commerce-framework
/
package.json
74 lines (74 loc) · 1.79 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
{
"name": "@aquilacms/storefront-data-hooks",
"version": "1.0.8",
"description": "Next.js Commerce Framework",
"main": "index.js",
"scripts": {
"clean": "rimraf *.js *.d.ts api cart commerce products scripts wishlist",
"clean:install": "rimraf node_modules yarn.lock && yarn install",
"build": "npm run clean && tsc && cp src/schema.d.ts schema.d.ts",
"lint": "eslint . --quiet --ext .js,.ts,.tsx",
"lint:fix": "eslint . --quiet --fix --ext .js,.ts,.tsx"
},
"files": [
"*.js",
"*.d.ts",
"account",
"api",
"auth",
"cart",
"commerce",
"products",
"wishlist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/aquilacms/storefront-data-hooks.git"
},
"keywords": [
"nextjs",
"commerce"
],
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/aquilacms/storefront-data-hooks/issues"
},
"homepage": "https://github.com/aquilacms/storefront-data-hooks#readme",
"dependencies": {
"@vercel/fetch": "6.1.0",
"cookie": "0.4.1",
"js-cookie": "2.2.1",
"lodash.debounce": "4.0.8",
"swr": "0.3.11"
},
"devDependencies": {
"@manifoldco/swagger-to-ts": "^2.1.0",
"@types/cookie": "^0.4.0",
"@types/js-cookie": "^2.2.6",
"@types/lodash.debounce": "^4.0.6",
"@types/node": "^14.14.20",
"@types/react": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^4.12.0",
"@typescript-eslint/parser": "^4.12.0",
"eslint": "^7.17.0",
"husky": "^4.3.7",
"lint-staged": "^10.5.3",
"next": "^10.0.4",
"rimraf": "^3.0.2",
"typescript": "^4.1.3"
},
"peerDependencies": {
"react": ">=17"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix"
]
}
}