-
Notifications
You must be signed in to change notification settings - Fork 212
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 3.06 KB
/
package.json
File metadata and controls
93 lines (93 loc) · 3.06 KB
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
{
"name": "@salesforce/commerce-sdk-react",
"version": "5.0.0-dev",
"description": "A library that provides react hooks for fetching data from Commerce Cloud",
"homepage": "https://github.com/SalesforceCommerceCloud/pwa-kit/tree/develop/packages/ecom-react-hooks#readme",
"bugs": {
"url": "https://github.com/SalesforceCommerceCloud/pwa-kit/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/SalesforceCommerceCloud/pwa-kit.git"
},
"license": "See license in LICENSE",
"author": "cc-pwa-kit@salesforce.com",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"CHANGELOG.md",
"LICENSE",
"+(auth|components|hooks|scripts)/**/!(*.test*).{ts,js}",
"*.{js,d.ts}",
"!*.test*.{js,d.ts}",
"!test*.*",
"!+(jest|babel).config.js",
"!setup-jest.js"
],
"scripts": {
"build": "cross-env NODE_ENV=production internal-lib-build build && tsc --emitDeclarationOnly",
"build:docs": "typedoc --plugin typedoc-plugin-missing-exports --hideGenerator",
"build:watch": "nodemon --watch 'src/**' --ext 'tsx,ts' --exec 'npm run build'",
"format": "internal-lib-build format \"**/*.{js,jsx,ts,tsx}\"",
"lint": "npm run lint:js && npm run typecheck",
"lint:fix": "npm run lint:js -- --fix && npm run typecheck",
"lint:js": "pwa-kit-dev lint \"**/*.{js,jsx,ts,tsx}\"",
"prepare": "npm run build",
"test": "internal-lib-build test",
"test:inspect": "node --inspect-brk jest --runInBand",
"test:watch": "npm test -- --watch",
"typecheck": "tsc --noEmit",
"version": "node ./scripts/version.js"
},
"dependencies": {
"commerce-sdk-isomorphic": "5.0.0-preview.1",
"js-cookie": "^3.0.1",
"jwt-decode": "^4.0.0"
},
"devDependencies": {
"@salesforce/pwa-kit-dev": "3.16.0-dev",
"@tanstack/react-query": "^4.28.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "14.4.3",
"@types/js-cookie": "~3.0.3",
"@types/jsdom": "^16.2.15",
"@types/jsonwebtoken": "~9.0.0",
"@types/node": "~16.0.3",
"@types/prop-types": "~15.7.9",
"@types/react": "~18.2.0",
"@types/react-dom": "~18.2.1",
"@types/react-helmet": "~6.1.6",
"@types/react-router-dom": "~5.3.3",
"cross-env": "^5.2.1",
"internal-lib-build": "3.16.0-dev",
"jsonwebtoken": "^9.0.0",
"nock": "^13.3.0",
"nodemon": "^2.0.22",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-helmet": "^6.1.0",
"react-router-dom": "^5.3.4",
"semver": "^7.5.2",
"shelljs": "^0.9.2",
"typedoc": "^0.24.7",
"typedoc-plugin-missing-exports": "^2.0.0",
"typescript": "4.9.5"
},
"peerDependencies": {
"@tanstack/react-query": "^4.28.0",
"react": "^17.0.0 || ^18.0.0",
"react-helmet": "^6.1.0"
},
"optionalDependencies": {
"prop-types": "^15.8.1",
"react-router-dom": "^5.3.4"
},
"engines": {
"node": "^16.11.0 || ^18.0.0 || ^20.0.0 || ^22.0.0",
"npm": "^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0"
},
"publishConfig": {
"directory": "dist"
}
}