-
Notifications
You must be signed in to change notification settings - Fork 37
/
package.json
124 lines (124 loc) · 5.02 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
{
"name": "@botpress/messaging",
"version": "1.2.17",
"description": "Botpress messaging repo",
"author": "Botpress, Inc.",
"license": "AGPL-3.0",
"scripts": {
"eslint": "eslint packages/ --ext .ts",
"prettier": "prettier --check './packages/**/*.ts' '!**/*.d.ts'",
"clean": "mkdirp packages/base/dist && rimraf packages/*/dist bin test/.test-data",
"reset": "yarn clean && mkdirp packages/base/node_modules && rimraf .parcel-cache packages/*/node_modules node_modules .yarn/cache .yarn/install-state.gz .yarn/unplugged .pnp.cjs .pnp.loader.mjs",
"package": "yarn clean && yarn build && ts-node -T misc/scripts/package",
"build": "yarn workspace @botpress/messaging-server build && yarn workspace @botpress/webchat-inject build",
"watch": "yarn workspace @botpress/messaging-server watch",
"start": "yarn workspace @botpress/messaging-server start",
"dev": "yarn workspace @botpress/messaging-server dev",
"board": "yarn workspace @botpress/messaging-board dev",
"channels": "yarn workspace @botpress/messaging-channels example",
"test": "yarn test:unit && yarn test:int && yarn test:mig && yarn test:e2e && yarn test:sec",
"test:pg": "yarn test:unit && yarn test:int:pg && yarn test:mig:pg && yarn test:e2e:pg && yarn test:sec:pg",
"test:unit": "jest -c ./test/jest.unit.config.ts",
"test:int": "jest -c ./test/jest.integration.config.ts",
"test:e2e": "jest -c ./test/jest.e2e.config.ts",
"test:sec": "jest -c ./test/jest.security.config.ts",
"test:mig": "jest -c ./test/jest.migration.config.ts",
"test:inject": "jest -c ./test/jest.inject.config.ts",
"test:int:pg": "cross-env POSTGRESQL=true jest -c ./test/jest.integration.config.ts",
"test:e2e:pg": "cross-env POSTGRESQL=true jest -c ./test/jest.e2e.config.ts",
"test:sec:pg": "cross-env POSTGRESQL=true jest -c ./test/jest.security.config.ts",
"test:mig:pg": "cross-env POSTGRESQL=true jest -c ./test/jest.migration.config.ts",
"test:chat:chrome": "start-test 'start' 'http://localhost:3100/status' 'ts-node packages/inject/test/serve.ts' '3700' 'cypress run --browser chrome'",
"test:chat:firefox": "start-test 'start' 'http://localhost:3100/status' 'ts-node packages/inject/test/serve.ts' '3700' 'cypress run --browser firefox'",
"cypress:open": "cypress open"
},
"bin": "./packages/server/dist/index.js",
"pkg": {
"scripts": "./packages/server/dist/**/*.js",
"assets": [
"./node_modules/sqlite3/lib/binding/**/*",
"./node_modules/es-get-iterator/node.js"
],
"targets": [
"node16-win32-x64",
"node16-linux-x64",
"node16-macos-x64"
]
},
"devDependencies": {
"@jest/types": "^27.4.2",
"@parcel/config-default": "^2.2.1",
"@parcel/core": "^2.2.1",
"@parcel/packager-ts": "^2.2.1",
"@parcel/resolver-default": "^2.2.1",
"@parcel/transformer-babel": "^2.2.1",
"@parcel/transformer-css": "^2.2.1",
"@parcel/transformer-html": "^2.2.1",
"@parcel/transformer-js": "^2.2.1",
"@parcel/transformer-postcss": "^2.2.1",
"@parcel/transformer-posthtml": "^2.2.1",
"@parcel/transformer-react-refresh-wrap": "^2.2.1",
"@parcel/transformer-sass": "2.2.1",
"@parcel/transformer-typescript-tsc": "^2.2.1",
"@parcel/transformer-typescript-types": "^2.2.1",
"@types/conventional-changelog": "^3.1.1",
"@types/jest": "^27.4.0",
"@types/jest-dev-server": "^5.0.0",
"@types/node": "^16.11.13",
"@types/uuid": "^8.3.4",
"@types/yargs": "^17.0.8",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"conventional-changelog": "^3.1.25",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"cypress": "^11.0.1",
"docker-compose": "~0.23.17",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-node": "^0.3.6",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsdoc": "37.7.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-unused-imports": "^2.0.0",
"jest": "^27.4.7",
"jest-dev-server": "^6.0.3",
"mkdirp": "^1.0.4",
"parcel": "^2.2.1",
"pkg": "5.2.0",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"start-server-and-test": "^1.14.0",
"ts-jest": "27.1.2",
"ts-node": "^10.4.0",
"ts-node-dev": "^1.1.8",
"typescript": "^4.5.5",
"uuid": "^8.3.2",
"yargs": "^17.3.1"
},
"private": true,
"workspaces": [
"packages/*"
],
"engines": {
"node": ">=16"
},
"packageManager": "[email protected]",
"alias": {
"@botpress/messaging-base": "@botpress/messaging-base/src",
"@botpress/messaging-client": "@botpress/messaging-client/src",
"@botpress/messaging-socket": "@botpress/messaging-socket/src",
"@botpress/messaging-components": "@botpress/messaging-components/src",
"@botpress/webchat": "@botpress/webchat/src",
"@botpress/chat": "@botpress/chat/src",
"@botpress/chat-skin": "@botpress/chat-skin/src"
},
"dependenciesMeta": {
"[email protected]": {
"built": false
},
"[email protected]": {
"built": false
}
}
}