forked from commercetools/nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
145 lines (145 loc) · 5.91 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"private": true,
"license": "MIT",
"engines": {
"node": ">=10",
"npm": ">=5.10"
},
"scripts": {
"postinstall": "check-node-version --package --print && cross-env NODE_ENV=development yarn build",
"check-updates": "./scripts/check-updates",
"clean": "rm -rf coverage; lerna exec -- rimraf lib dist",
"commit": "git-cz",
"build": "lerna run build --no-private",
"build:changelog": "lerna-changelog --from=$(git log --grep='chore(release): releasing component' --format='%H' | sed -n 2p) > tmp && cat CHANGELOG.md >> tmp && cat tmp > CHANGELOG.md && rm tmp",
"push:changelog": "git add CHANGELOG.md && git commit -m 'docs: update changelog' && git push",
"check-gh-auth-token": "if [[ -z \"${GITHUB_AUTH}\" ]]; then echo \"Need to set GITHUB_AUTH\" && exit 1; fi",
"build:typings": "NODE_ENV=production lerna run build:typings --no-private",
"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": "yarn 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": "yarn format:js && yarn format:md",
"format:js": "prettier --write '{packages,integration-tests,types}/**/*.{js,ts}'",
"format:md": "prettier --parser markdown --write '**/*.md'",
"test:coverage": "yarn build && npm test -- --no-watchman --coverage",
"test:ci": "yarn test -- --ci --no-watchman --maxWorkers=10",
"test:coverage:ci": "yarn test:ci -- --coverage && codecov",
"release": "yarn check-gh-auth-token && cross-env NODE_ENV=cli yarn build && lerna publish --registry=https://registry.npmjs.org/ && yarn build:changelog && yarn push:changelog && yarn docs:publish",
"docs:clean": "rimraf _book",
"docs:prepare": "gitbook install",
"docs:build": "yarn docs:prepare && gitbook build && cp logo/apple-touch-icon.png _book/gitbook/images/apple-touch-icon-precomposed-152.png && cp logo/favicon.ico _book/gitbook/images",
"docs:watch": "yarn docs:prepare && gitbook serve",
"docs:publish": "yarn docs:clean && yarn docs:build && ./scripts/publish-docs",
"typecheck": "yarn typecheck:flow && yarn typecheck:ts",
"typecheck:flow": "flow check --include-warnings",
"typecheck:ts": "lerna run typecheck:ts",
"package-readme-entry": "./scripts/package-readme-entry.sh"
},
"workspaces": [
"integration-tests",
"packages/*"
],
"devDependencies": {
"@babel/cli": "7.10.5",
"@babel/core": "7.11.4",
"@babel/plugin-proposal-class-properties": "7.10.4",
"@babel/plugin-proposal-export-default-from": "7.10.4",
"@babel/plugin-proposal-export-namespace-from": "7.10.4",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.10.4",
"@babel/plugin-proposal-object-rest-spread": "7.11.0",
"@babel/plugin-proposal-optional-chaining": "7.11.0",
"@babel/plugin-proposal-pipeline-operator": "7.10.5",
"@babel/plugin-syntax-optional-chaining": "7.8.3",
"@babel/preset-env": "7.11.0",
"@babel/preset-flow": "7.10.4",
"@babel/preset-typescript": "7.10.4",
"@commitlint/cli": "9.1.2",
"@commitlint/config-conventional": "9.1.2",
"@rollup/plugin-alias": "3.1.1",
"@types/jest": "26.0.10",
"@types/node": "10.17.28",
"@types/node-fetch": "2.5.7",
"@typescript-eslint/eslint-plugin": "3.9.1",
"@typescript-eslint/parser": "3.9.1",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "10.1.0",
"babel-jest": "26.3.0",
"check-node-version": "4.0.3",
"codecov": "3.7.2",
"commitizen": "4.1.2",
"common-tags": "1.8.0",
"cross-env": "7.0.2",
"cz-lerna-changelog": "2.0.3",
"debug": "4.1.1",
"eslint": "7.7.0",
"eslint-config-airbnb": "18.2.0",
"eslint-config-airbnb-base": "14.2.0",
"eslint-config-prettier": "6.11.0",
"eslint-formatter-pretty": "4.0.0",
"eslint-import-resolver-typescript": "2.2.1",
"eslint-plugin-babel": "5.3.1",
"eslint-plugin-flowtype": "5.2.0",
"eslint-plugin-import": "2.22.0",
"eslint-plugin-jest": "23.20.0",
"eslint-plugin-jsx-a11y": "6.3.1",
"eslint-plugin-prettier": "3.1.4",
"eslint-plugin-react": "7.20.6",
"flow-bin": "0.131.0",
"gitbook-cli": "daern91/gitbook-cli",
"gitbook-plugin-anchorjs": "2.1.0",
"gitbook-plugin-edit-link": "2.0.2",
"gitbook-plugin-ga": "2.0.0",
"gitbook-plugin-github": "3.0.0",
"gitbook-plugin-prism": "2.4.0",
"husky": "4.2.5",
"jest": "26.4.1",
"jest-each": "26.4.0",
"jest-runner-eslint": "0.10.0",
"jest-runner-flowtype": "0.0.7",
"jest-silent-reporter": "0.2.1",
"lerna": "3.22.1",
"lerna-changelog": "1.0.1",
"lint-staged": "10.2.11",
"npm-check-updates": "7.1.1",
"prettier": "2.0.5",
"resolve": "1.17.0",
"rimraf": "3.0.2",
"rollup": "2.26.4",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-includepaths": "0.2.4",
"rollup-plugin-json": "4.0.0",
"rollup-plugin-node-globals": "1.4.0",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-uglify": "6.0.4",
"rollup-watch": "4.3.1",
"streamtest": "2.0.0",
"ts-jest": "26.2.0",
"tsconfig-replace-paths": "0.0.5",
"typescript": "3.9.7"
},
"resolutions": {
"graceful-fs": "4.2.4",
"**/graceful-fs": "4.2.4",
"y18n": "3.2.2",
"lodash": "4.17.21",
"handlebars": "4.7.7",
"growl": "1.10.2",
"dot-prop": "5.1.1",
"merge": "2.1.1",
"npm-user-validate": "1.0.1",
"serialize-javascript": "3.1.0",
"diff": "3.5.0",
"object-path": "0.11.5"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-lerna-changelog"
}
}
}