-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
56 lines (56 loc) · 1.67 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
{
"name": "@hashicorp/platform-packages",
"description": "A set of packages for configuring the Next.js-based HashiCorp web platform.",
"version": "0.0.0",
"author": "HashiCorp",
"devDependencies": {
"@changesets/changelog-github": "^0.4.0",
"@changesets/cli": "^2.16.0",
"@types/jest": "^26.0.24",
"@types/react": "^17.0.14",
"@types/segment-analytics": "^0.0.34",
"jest": "^29.2.2",
"jest-environment-jsdom": "^29.2.2",
"lint-staged": "^13.0.3",
"prettier": "^2.3.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"simple-git-hooks": "^2.5.1",
"typescript": "^4.8.4"
},
"engines": {
"npm": ">=7.0.0",
"node": ">=10.0.0"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"license": "MPL-2.0",
"lint-staged": {
"*.+(js|jsx|ts|tsx)": [
"./packages/cli/next-hashicorp format",
"./packages/cli/next-hashicorp lint"
],
"bin/next-hashicorp": [
"./packages/cli/next-hashicorp format",
"./packages/cli/next-hashicorp lint"
]
},
"private": true,
"repository": "hashicorp/nextjs-scripts",
"scripts": {
"build": "npm run build --workspaces --if-present",
"lint": "./packages/cli/next-hashicorp lint",
"release": "npm run build && changeset publish",
"release:canary": "npm run build && changeset publish --tag canary",
"test:esm": "TEST_ESM=true NODE_OPTIONS=--experimental-vm-modules jest",
"test:esm:watch": "npm run test:esm -- --watch",
"test:cjs": "jest",
"test:cjs:watch": "npm run test:cjs -- --watch",
"test": "npm run test:cjs && npm run test:esm",
"prepare": "simple-git-hooks"
},
"workspaces": [
"./packages/*"
]
}