-
Notifications
You must be signed in to change notification settings - Fork 253
/
package.json
118 lines (118 loc) · 3.59 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
{
"name": "action-destinations",
"private": true,
"license": "MIT",
"workspaces": {
"packages": [
"packages/*",
"packages/browser-destinations/destinations/*"
]
},
"engines": {
"node": "14 || ^18.12"
},
"scripts": {
"alpha": "lerna version prerelease --allow-branch $(git branch --show-current) --preid $(git branch --show-current) --no-push --no-git-tag-version",
"browser": "yarn workspace @segment/browser-destinations",
"build": "nx run-many -t build && yarn build:browser-bundles",
"build:browser-bundles": "nx build @segment/destinations-manifest && nx build-web @segment/browser-destinations",
"canary": "./scripts/canary.sh",
"clean": "sh scripts/clean.sh",
"cli": "yarn workspace @segment/actions-cli",
"cloud": "yarn workspace @segment/action-destinations",
"core": "yarn workspace @segment/actions-core",
"lint": "ls -d ./packages/* | xargs -I {} eslint '{}/**/*.ts' --cache",
"postversion": "bash scripts/postversion.sh",
"prepare": "husky install",
"release": "bash scripts/release.sh",
"shared": "yarn workspace @segment/actions-shared",
"subscriptions": "yarn workspace @segment/destination-subscriptions",
"test": "nx run-many -t test",
"test:clear-cache": "nx clear-cache",
"test-browser": "bash scripts/test-browser.sh",
"test-partners": "lerna run test --stream --ignore @segment/actions-core --ignore @segment/actions-cli --ignore @segment/ajv-human-errors",
"typecheck": "lerna run typecheck --stream",
"types": "./bin/run generate:types",
"validate": "./bin/run validate"
},
"devDependencies": {
"@peculiar/webcrypto": "^1.2.3",
"@types/aws4": "^1.11.2",
"@types/chance": "^1.1.3",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.16",
"@types/jest": "^27.0.0",
"@types/ws": "^8.5.1",
"@typescript-eslint/eslint-plugin": "^4.14.0",
"@typescript-eslint/parser": "^4.14.0",
"cors": "^2.8.5",
"eslint": "^7.25.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-jest": "^25.2.2",
"eslint-plugin-lodash": "^7.3.0",
"express": "^4.18.2",
"husky": "^7.0.0",
"jest": "^27.3.1",
"jest-browser-globals": "^25.1.0-beta",
"jest-mock": "^29.3.1",
"karma": "^6.4.1",
"karma-chrome-launcher": "^3.1.1",
"karma-jasmine": "^5.1.0",
"karma-webkit-launcher": "^2.0.0",
"karma-webpack": "^5.0.0",
"lerna": "^8.1.8",
"lint-staged": "^10.5.3",
"open": "^8.4.0",
"os-browserify": "^0.3.0",
"path-browserify": "^1.0.1",
"playwright-chromium": "^1.29.2",
"playwright-webkit": "^1.29.2",
"prettier": "^2.4.1",
"process": "^0.11.10",
"timers-browserify": "^2.0.12",
"ts-jest": "^27.0.7",
"ts-node": "^9.1.1",
"typescript": "4.3.5",
"ws": "^8.5.0"
},
"resolutions": {
"**/@size-limit/preset-small-lib/**/glob-parent": "^6.0.1",
"**/analytics-next/**/dot-prop": "^4.2.1",
"ansi-regex": "5.0.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/{browser-destinations,destinations}/**/*.ts": [
"./bin/run generate:types -p",
"git add **/generated-types.ts"
],
"!(**/templates/**)/*.ts": [
"eslint --fix --cache",
"prettier --write"
],
"*.{yml,md,json}": [
"prettier --write"
]
},
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 120
},
"jest": {
"preset": "ts-jest",
"globals": {
"ts-jest": {
"isolatedModules": true
}
}
},
"dependencies": {
"chance": "^1.1.8"
}
}