-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
139 lines (139 loc) · 3.52 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
{
"name": "@untemps/react-vocal",
"version": "1.7.28",
"author": "Vincent Le Badezet <[email protected]>",
"repository": "[email protected]:untemps/react-vocal.git",
"license": "MIT",
"description": "React component and hook to initiate a SpeechRecognition session",
"keywords": [
"Web Speech API",
"SpeechRecognition",
"speech",
"speech-to-text",
"React",
"ReactJS",
"component",
"hook",
"javascript"
],
"private": false,
"publishConfig": {
"access": "public"
},
"main": "dist/index.js",
"module": "dist/index.es.js",
"engines": {
"node": ">=14"
},
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-transform-react-jsx": "^7.12.12",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@commitlint/cli": "^9.1.1",
"@commitlint/config-conventional": "^9.1.1",
"@rollup/plugin-babel": "^5.2.2",
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-node-resolve": "^11.0.1",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.4",
"@testing-library/dom": "^7.29.0",
"@testing-library/jest-dom": "^5.11.6",
"@testing-library/react": "^11.2.2",
"@testing-library/react-hooks": "^3.7.0",
"@untemps/utils": "^2.0.0-beta.1",
"babel-jest": "^28.0.0-alpha.11",
"cross-env": "^7.0.3",
"husky": "^4.3.6",
"jest": "^28.0.0-alpha.11",
"jest-environment-jsdom": "^28.0.0-alpha.11",
"prettier": "^2.2.1",
"prop-types": "^15.7.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-test-renderer": "^17.0.1",
"rimraf": "^3.0.2",
"rollup": "^2.35.1",
"rollup-plugin-sizes": "^1.0.4",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-visualizer": "^4.2.0",
"semantic-release": "^19.0.3"
},
"peerDependencies": {
"react": "^16.13.1",
"react-dom": "^16.13.1"
},
"dependencies": {
"@untemps/vocal": "^1.3.0",
"fuse.js": "^6.4.6"
},
"jest": {
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"setupFilesAfterEnv": [
"<rootDir>/jest/jest.setup.js"
],
"restoreMocks": true
},
"husky": {
"hooks": {
"pre-commit": "yarn test:ci && yarn prettier",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"release": {
"branches": [
"main"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"releaseRules": [
{
"type": "chore",
"release": "patch"
}
]
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git",
[
"@semantic-release/github",
{
"assets": [
{
"path": "dist/index.js",
"label": "CJS distribution"
},
{
"path": "dist/index.es.js",
"label": "ES distribution"
},
{
"path": "dist/index.umd.js",
"label": "UMD distribution"
}
]
}
]
]
},
"scripts": {
"dev": "cd dev && rimraf dist && yarn && yarn start",
"test": "jest -u --watch",
"test:ci": "jest -u -b --ci --coverage",
"build": "rimraf dist && yarn build:cjs && yarn build:es && yarn build:umd",
"build:cjs": "cross-env NODE_ENV=production BABEL_ENV=cjs rollup -c",
"build:es": "cross-env NODE_ENV=production BABEL_ENV=es rollup -c",
"build:umd": "cross-env NODE_ENV=production BABEL_ENV=umd rollup -c",
"prettier": "prettier \"*/**/*.js\" --ignore-path ./.prettierignore --write && git add . && git status"
}
}