-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 1.78 KB
/
package.json
File metadata and controls
65 lines (65 loc) · 1.78 KB
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
{
"name": "react-mitt",
"version": "1.0.1",
"description": "React event emitter / pubsub 👉🏻👈🏽",
"source": "src/index.tsx",
"main": "dist/react-mitt.js",
"module": "dist/react-mitt.es.js",
"types": "dist/index.d.ts",
"keywords": [
"events",
"eventemitter",
"emitter",
"pubsub",
"react",
"reactmitt"
],
"author": "Luqman Olushi <olushilukmon03@gmail.com> (https://github.com/codeshifu)",
"license": "MIT",
"files": [
"dist",
"src",
"dist/index.d.ts"
],
"scripts": {
"clean": "rimraf dist",
"build": "microbundle --external react,react-dom --compress --sourcemap false --jsx React.createElement -f es,cjs",
"bundle": "npm-run-all clean build",
"lint": "eslint './src/**/*.{ts,tsx}' --quiet --fix",
"release": "npm run bundle && np",
"test": "jest",
"coverage": "jest --coverage && coveralls < coverage/lcov.info"
},
"dependencies": {
"mitt": "^1.2.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.9.0",
"@testing-library/react": "^10.2.1",
"@testing-library/react-hooks": "^3.3.0",
"@types/jest": "^25.2.3",
"@types/react": "^16.9.35",
"@typescript-eslint/eslint-plugin": "^3.1.0",
"@typescript-eslint/parser": "^3.1.0",
"coveralls": "^3.1.0",
"eslint": "^7.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.20.0",
"jest": "^26.0.1",
"microbundle": "^0.12.0",
"np": "^6.2.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-test-renderer": "^16.13.1",
"rimraf": "^3.0.2",
"ts-jest": "^26.1.0",
"typescript": "^3.9.5"
},
"peerDependencies": {
"react": "^16.8.x",
"react-dom": "^16.8.x"
}
}