-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
99 lines (99 loc) · 2.69 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
{
"name": "broad-state",
"license": "MIT",
"version": "1.2.1",
"repository": "git://github.com/adenekan41/broadstate.git",
"description": "A global state manager with useState and react hooks",
"author": "Adenekan Wonderful <[email protected]> (https://codewonders.dev)",
"main": "dist/bundle-cjs/index.js",
"module": "dist/bundle-es/index.js",
"jsnext:main": "dist/bundle-es/index.js",
"browser": "dist/bundle-browser/index.js",
"scripts": {
"flush": "rm -rf dist",
"build": "yarn flush && NODE_ENV=prod rollup -c && bundlesize",
"lint": "eslint --fix 'src/**/*'",
"test": "jest",
"dev": " yarn flush && NODE_ENV=dev rollup -c -w",
"prepublishOnly": "npm run build",
"ts-types": " tsc --emitDeclarationOnly",
"format": "prettier --write \"**/*.{ts,tsx,json,md}\"",
"build:major": "npm version major && git push origin master && npm publish",
"build:minor": "npm version minor && git push origin master && npm publish",
"build:patch": "npm version patch && git push origin master && npm publish"
},
"homepage": "https://github.com/adenekan41/broadstate#readme",
"devDependencies": {
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-typescript": "^8.3.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.2",
"@types/jest": "^27.4.0",
"@types/react": "^17.0.39",
"bundlesize": "^0.18.0",
"core-js": "^3.3.4",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"react": "^16.12.0",
"react-dom": "^18.2.0",
"rollup": "^2.67.0",
"rollup-plugin-multi-input": "^1.3.1",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "^29.0.5",
"tslib": "^2.3.1",
"typescript": "^4.5.5"
},
"bundlesize": [
{
"path": "dist/bundle-cjs/**/*.js"
},
{
"path": "dist/bundle-es/**/*.js"
},
{
"path": "dist/bundle-browser/**/*.js"
},
{
"path": "dist/**/*.ts"
}
],
"files": [
"dist/bundle-es",
"dist/bundle-cjs",
"dist/bundle-browser"
],
"keywords": [
"javascript",
"codewonders",
"js",
"utility",
"functions",
"utilities",
"broad-state",
"helper functions"
],
"peerDependencies": {
"react": ">= 16.8.0"
},
"jest": {
"preset": "ts-jest",
"verbose": true,
"transform": {
".(ts|tsx)": "ts-jest"
},
"setupFilesAfterEnv": [
"@testing-library/jest-dom/extend-expect"
],
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$",
"^.+\\.module\\.(css|sass|scss)$"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
]
}
}