forked from microsoft/BotFramework-WebChat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
113 lines (113 loc) · 3.77 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
{
"name": "botframework-webchat-root",
"version": "4.6.1-0",
"private": true,
"files": [
"lib/**/*"
],
"author": "Microsoft Corporation",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/microsoft/BotFramework-WebChat.git"
},
"bugs": {
"url": "https://github.com/microsoft/BotFramework-WebChat/issues"
},
"homepage": "https://github.com/microsoft/BotFramework-WebChat#readme",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"**/packages/**/src/**/*.{js,jsx,ts,tsx}",
"!**/*.{spec,test}.{js,jsx,ts,tsx}",
"!**/*.json",
"!**/node_modules/**",
"!**/packages/playground/**"
],
"coverageReporters": [
"lcov",
"text-summary"
],
"globals": {
"npm_package_version": "0.0.0-0.jest"
},
"moduleDirectories": [
"node_modules",
"packages"
],
"moduleFileExtensions": [
"js",
"jsx",
"ts",
"tsx"
],
"setupFilesAfterEnv": [
"<rootDir>/__tests__/setup/setupTestFramework.js"
],
"testPathIgnorePatterns": [
"<rootDir>/__tests__/setup/",
"<rootDir>/packages/playground/",
"<rootDir>/samples/"
],
"transform": {
"\\.[jt]sx?$": "./babel-jest-config.js"
}
},
"keywords": [],
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write packages/{bundle,component,core,embed,playground}/src/**/*.{js,jsx,ts,tsx}",
"prettier --write __tests__/**/*.{js,jsx,ts,tsx}",
"prettier --write samples/**/*.{js,html}",
"git add"
]
},
"scripts": {
"bootstrap": "lerna bootstrap",
"build": "lerna run --scope=botframework-webchat* --scope=isomorphic* --stream build",
"build:sample": "lerna run --scope=sample-* --stream build",
"clean": "lerna run --scope=botframework-webchat* --parallel --stream clean",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"eslint": "lerna run --scope=botframework-webchat* --scope=isomorphic* --parallel --stream eslint",
"lerna-publish": "lerna publish",
"prepublishOnly": "lerna run --scope=botframework-webchat* --scope=isomorphic* --scope=playground --stream prepublishOnly",
"prettier-readmes": "prettier --write **/**/*.md --tab-width 3 --single-quote true",
"start": "npm run build && lerna run --parallel --scope=botframework-webchat* --scope=isomorphic* --stream watch",
"start:docker": "npm run build && docker-compose up --build",
"start:playground": "cd packages/playground && npm run start",
"tableflip": "npm run tableflip:start && lerna clean --yes --concurrency 2 && npx rimraf node_modules && npm ci && npm run bootstrap -- --concurrency 2 && npm run tableflip:end",
"tableflip:end": "echo ┬──┬ ノ( ゜-゜ノ) Tableflip complete. Now run npm start",
"tableflip:start": "echo (╯ರ ~ ರ)╯︵ ┻━┻ Begin tableflip.",
"test": "jest --no-cache",
"test:all": "lerna run --parallel --stream test"
},
"devDependencies": {
"@azure/storage-blob": "^12.0.0",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.6.3",
"@babel/preset-react": "^7.6.3",
"@babel/preset-typescript": "^7.6.0",
"@babel/runtime": "^7.6.3",
"babel-jest": "^24.9.0",
"core-js": "^3.3.6",
"coveralls": "^3.0.7",
"get-port": "^5.0.0",
"husky": "^3.0.9",
"jest": "^24.9.0",
"jest-image-snapshot": "^2.11.0",
"lerna": "^3.18.3",
"lint-staged": "^9.4.2",
"prettier": "^1.18.2",
"react": "16.8.6",
"react-dom": "16.8.6",
"selenium-webdriver": "4.0.0-alpha.5",
"serve-handler": "^6.1.2"
}
}