-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
97 lines (97 loc) · 3.04 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
{
"name": "chat-form",
"version": "0.0.57",
"private": false,
"main": "dist/js/export.js",
"module": "dist/esm/export.js",
"types": "dist/js/export.d.ts",
"files": [
"dist"
],
"dependencies": {
"@types/node": "^14.0.5",
"@types/react": "^16.9.0",
"@types/react-dom": "^16.9.0",
"babel-plugin-react-css-modules": "^5.2.6",
"dayjs": "^1.8.27",
"node-sass": "^4.14.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "3.4.1",
"react-textarea-autosize": "^8.0.0",
"typescript": "~3.7.2"
},
"scripts": {
"start": "react-scripts start",
"build": "rm -rf build && react-scripts build",
"test": "react-scripts test --coverage",
"build:lib": "rm -rf dist && yarn build:babel && yarn build:types && ts-node --project tsconfig.lib.json ./copy.ts",
"build:babel": "concurrently \"yarn build:babel:esm && yarn build:babel:umd\" \"yarn build:babel:cjs\"",
"build:babel:cjs": "BABEL_ENV=cjs babel --source-maps --extensions \".js,.ts,.tsx\" src --out-dir dist/js --presets=@babel/env",
"build:babel:esm": "BABEL_ENV=esm babel --source-maps --extensions \".js,.ts,.tsx\" src --out-dir dist/esm",
"build:babel:umd": "BABEL_ENV=umd babel --source-maps --extensions \".js\" dist/esm --out-dir dist/umd --plugins=transform-es2015-modules-umd",
"build:types": "tsc -p tsconfig.lib.json",
"coveralls": "cat ./coverage/lcov.info | node node_modules/.bin/coveralls",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": "react-app"
},
"husky": {
"hooks": {
"pre-commit": "ts-node --project tsconfig.lib.json publish.ts && git add package.json"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-export-default-from": "^7.8.3",
"@babel/plugin-transform-typescript": "^7.9.6",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"@types/fs-extra": "^9.0.1",
"@types/glob": "^7.1.1",
"@types/jest": "^24.0.0",
"babel-plugin-transform-es2015-modules-umd": "^6.24.1",
"babel-plugin-typescript-to-proptypes": "^1.3.2",
"concurrently": "^5.2.0",
"coverage": "^0.4.1",
"coveralls": "^3.1.0",
"fs-extra": "^9.0.0",
"husky": "^4.2.5",
"postcss-scss": "^2.1.1",
"ts-node": "^8.10.1"
},
"homepage": "https://react-chat-form.firebaseapp.com/",
"repository": {
"type": "git",
"url": "https://github.com/koechkevin/chat-form"
},
"author": {
"name": "Kevin Koech",
"email": "[email protected]",
"url": "https://github.com/koechkevin"
},
"jest": {
"collectCoverageFrom": [
"!src/App.tsx",
"!src/ChatBot.tsx",
"src/Message.tsx",
"src/Options.tsx"
]
}
}