-
Notifications
You must be signed in to change notification settings - Fork 70
Expand file tree
/
Copy pathpackage.json
More file actions
119 lines (119 loc) · 4.71 KB
/
package.json
File metadata and controls
119 lines (119 loc) · 4.71 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"private": true,
"name": "nodejs",
"license": "MIT",
"engines": {
"node": ">=18"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"postinstall": "./scripts/postinstall.sh",
"clean": "rm -rf coverage; manypkg exec rimraf lib dist node_modules; rm -rf node_modules",
"commit": "git-cz",
"build": "pnpm build:clis && pnpm build:packages",
"build:clis": "pnpm --filter @commercetools/get-credentials --filter @commercetools/personal-data-erasure --filter @commercetools/resource-deleter build",
"build:packages": "pnpm preconstruct build",
"check-gh-auth-token": "if [[ -z \"${GITHUB_AUTH}\" ]]; then echo \"Need to set GITHUB_AUTH\" && exit 1; fi",
"lint": "jest --projects jest.eslint.config.js jest.flow.config.js",
"lint:js": "jest --config jest.eslint.config.js",
"test": "cross-env NODE_ENV=development jest --config jest.test.config.js",
"test:watch": "pnpm test --watch",
"test:package": "cross-env NODE_ENV=development ./scripts/test-package",
"pretest:integration": "./scripts/install-npm-packages-for-integration-tests",
"test:integration": "cross-env NODE_ENV=development jest --config integration-tests/jest.test.config.js",
"format": "pnpm format:js && pnpm format:md",
"format:js": "prettier --write '{packages,integration-tests,types}/**/*.{js,ts}'",
"format:md": "prettier --parser markdown --write '**/*.md'",
"test:coverage": "pnpm build && npm test -- --no-watchman --coverage",
"test:ci": "pnpm test -- --maxWorkers=10",
"test:coverage:ci": "pnpm test:ci --coverage && codecov",
"typecheck": "pnpm typecheck:flow && pnpm typecheck:ts",
"typecheck:flow": "flow check --include-warnings",
"typecheck:ts": "pnpm --recursive run typecheck:ts",
"package-readme-entry": "./scripts/package-readme-entry.sh",
"changeset": "changeset",
"changeset:version-and-format": "changeset version && prettier --write --parser json '**/package.json'"
},
"packageManager": "pnpm@9.15.9",
"devDependencies": {
"@babel/cli": "7.27.2",
"@babel/core": "7.27.1",
"@babel/eslint-parser": "7.27.1",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-export-default-from": "7.27.1",
"@babel/plugin-proposal-export-namespace-from": "7.18.9",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.18.6",
"@babel/plugin-proposal-object-rest-spread": "7.20.7",
"@babel/plugin-proposal-optional-chaining": "7.21.0",
"@babel/plugin-proposal-pipeline-operator": "7.27.1",
"@babel/plugin-syntax-optional-chaining": "7.8.3",
"@babel/preset-env": "7.27.2",
"@babel/preset-flow": "7.27.1",
"@babel/preset-typescript": "7.27.1",
"@changesets/changelog-github": "0.5.1",
"@changesets/cli": "2.29.4",
"@commitlint/cli": "19.8.1",
"@commitlint/config-conventional": "12.1.4",
"@manypkg/cli": "0.24.0",
"@preconstruct/cli": "2.8.12",
"@types/jest": "26.0.24",
"@types/node": "10.17.60",
"@types/node-fetch": "2.6.12",
"@typescript-eslint/eslint-plugin": "3.10.1",
"@typescript-eslint/parser": "3.10.1",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "26.6.3",
"check-node-version": "4.2.1",
"codecov": "3.8.3",
"commitizen": "4.3.1",
"common-tags": "1.8.2",
"cross-env": "7.0.3",
"debug": "4.4.1",
"eslint": "7.32.0",
"eslint-config-airbnb": "18.2.1",
"eslint-config-airbnb-base": "14.2.1",
"eslint-config-prettier": "6.15.0",
"eslint-formatter-pretty": "4.1.0",
"eslint-import-resolver-typescript": "2.7.1",
"eslint-plugin-babel": "5.3.1",
"eslint-plugin-flowtype": "5.10.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jest": "23.20.0",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-prettier": "3.4.1",
"eslint-plugin-react": "7.37.5",
"flow-bin": "0.141.0",
"husky": "9.1.7",
"jest": "26.6.3",
"jest-each": "26.6.2",
"jest-runner-eslint": "0.11.1",
"jest-runner-flowtype": "0.0.7",
"jest-silent-reporter": "0.6.0",
"lint-staged": "15.5.2",
"prettier": "2.8.8",
"resolve": "1.22.10",
"rimraf": "3.0.2",
"streamtest": "2.0.0",
"ts-jest": "26.5.6",
"tsconfig-replace-paths": "0.0.14",
"typescript": "4.9.5"
},
"preconstruct": {
"packages": [
"packages/api-request-builder",
"packages/http-user-agent",
"packages/sdk-auth",
"packages/sdk-client",
"packages/sdk-middleware-auth",
"packages/sdk-middleware-correlation-id",
"packages/sdk-middleware-http",
"packages/sdk-middleware-logger",
"packages/sdk-middleware-queue",
"packages/sdk-middleware-user-agent",
"packages/sync-actions"
]
},
"manypkg": {
"ignoredRules": ["INTERNAL_MISMATCH"]
}
}