forked from teafuljs/teaful
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
106 lines (106 loc) · 2.75 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
{
"name": "teaful",
"version": "0.10.0",
"description": "Tiny, easy and powerful React state management (less than 1kb)",
"license": "MIT",
"keywords": [
"react",
"preact",
"state",
"state management",
"store",
"javascript"
],
"author": {
"name": "Aral Roca Gòmez",
"email": "[email protected]"
},
"files": [
"dist",
"package"
],
"repository": {
"type": "git",
"url": "https://github.com/teafuljs/teaful.git"
},
"source": "package/index.js",
"main": "dist/index.js",
"umd:main": "dist/index.umd.js",
"module": "dist/index.m.js",
"exports": {
"require": "./dist/index.js",
"default": "./dist/index.modern.js"
},
"bundlewatch": {
"files": [
{
"path": "./dist/index.js",
"maxSize": "1 kB"
},
{
"path": "./dist/index.modern.js",
"maxSize": "1 kB"
},
{
"path": "./dist/index.m.js",
"maxSize": "1 kB"
},
{
"path": "./dist/index.umd.js",
"maxSize": "1 kB"
}
]
},
"types": "package/index.d.ts",
"scripts": {
"lint": "eslint ./package ./tests",
"format": "eslint --fix ./package ./tests ./examples",
"test": "jest ./package ./tests",
"test:example:todo-list": "jest ./examples/todo-list",
"test:examples": "jest ./examples",
"test:watch": "jest ./package ./tests --watch",
"copy-types": "node ./config/copy-type-definition.js",
"build": "microbundle --jsx React.createElement --no-generateTypes && yarn copy-types",
"dev": "microbundle watch",
"prepublish": "yarn build"
},
"peerDependencies": {
"react": ">= 16.8.0",
"teaful-devtools": ">= 0.4.0"
},
"peerDependenciesMeta": {
"teaful-devtools": {
"optional": true
}
},
"jest": {
"testEnvironment": "jsdom",
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|less)$": "identity-obj-proxy"
}
},
"devDependencies": {
"@babel/polyfill": "7.12.1",
"@babel/preset-env": "7.16.4",
"@babel/preset-react": "7.16.0",
"@testing-library/dom": "8.11.1",
"@testing-library/react": "12.1.2",
"@testing-library/user-event": "13.5.0",
"babel-jest": "27.4.2",
"bundlewatch": "0.3.2",
"eslint": "8.4.0",
"eslint-config-google": "0.14.0",
"eslint-plugin-jest": "25.3.0",
"eslint-plugin-react": "7.27.1",
"eslint-plugin-react-hooks": "4.3.0",
"eslint-plugin-testing-library": "5.0.1",
"jest": "27.4.3",
"microbundle": "0.14.2",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-test-renderer": "17.0.2",
"shelljs": "0.8.4"
},
"bugs": "https://github.com/teafuljs/teaful/issues"
}