-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
96 lines (96 loc) · 2.81 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
{
"name": "create-shared-react-context",
"version": "1.0.3",
"description": "A memoized wrapper of React.createContext",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"scripts": {
"build": "tsc --declaration",
"test:unit": "vitest --run",
"test": "npm run test:unit && npm run lint && npm run test:git-history && npm run test:lockfile",
"lint": "eslint src/**/* --ignore-path .gitignore --ext js && prettier --check **/*.{js,ts,tsx}",
"test:git-history": "commitlint --from origin/main --to HEAD",
"test:lockfile": "lockfile-lint -p package-lock.json -t npm -a npm -o https: -o npm: -c -i",
"prepare": "husky install"
},
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/americanexpress/create-shared-react-context.git"
},
"homepage": "https://github.com/americanexpress/create-shared-react-context",
"bugs": {
"url": "https://github.com/americanexpress/create-shared-react-context/issues"
},
"contributors": [
"Andrew Sutedja <[email protected]>"
],
"peerDependencies": {
"react": ">=16.3.0 <19"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.7",
"@babel/preset-typescript": "^7.26.0",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^10.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^10.0.4",
"@semantic-release/release-notes-generator": "^11.0.4",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^12.1.5",
"@types/node": "^18.19.64",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.0.11",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@vitest/coverage-v8": "^2.1.8",
"babel-preset-amex": "^3.3.0",
"eslint": "^8.57.0",
"eslint-config-amex": "^16.3.0",
"husky": "^8.0.3",
"lockfile-lint": "^4.1.0",
"prettier": "^3.4.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"typescript": "~5.4.4",
"vitest": "^2.1.4"
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/git",
"@semantic-release/github",
"@semantic-release/npm"
],
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"main",
"next",
"next-major",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
]
},
"husky": {
"hooks": {
"pre-commit": "npm test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}