-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 2.57 KB
/
Copy pathpackage.json
File metadata and controls
93 lines (93 loc) · 2.57 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
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
{
"name": "tiny-context",
"description": "A tiny library for context using react-hooks.",
"keywords": [
"tiny-context",
"react",
"hooks",
"context",
"store",
"state"
],
"version": "1.8.2",
"license": "MIT",
"author": {
"name": "Akito Moriki",
"email": "benishouga@gmail.com",
"url": "https://github.com/benishouga/"
},
"main": "lib/tiny-context.js",
"unpkg": "umd/tiny-context.js",
"module": "es/tiny-context.js",
"types": "lib/tiny-context.d.ts",
"files": [
"es",
"lib",
"umd"
],
"repository": {
"type": "git",
"url": "https://github.com/benishouga/tiny-context.git"
},
"bugs": "https://github.com/benishouga/tiny-context/issues",
"homepage": "https://github.com/benishouga/tiny-context",
"scripts": {
"clean": "rimraf coverage es lib umd docs/**/*.js",
"prepare": "npm run clean && npm run compile && npm run format && npm run lint && npm run test && npm run build && npm run docs",
"compile": "tsc --noEmit",
"lint": "eslint --ext=ts,tsx",
"format": "prettier --write src/*",
"build": "rollup -c",
"start": "webpack serve --mode=development --hot --watch-content-base --content-base docs/ --open ",
"docs": "webpack --mode=production",
"test": "cross-env NODE_ENV=test jest --coverage"
},
"peerDependencies": {
"react": "^16.8 || ^17.0.1"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"coverageThreshold": {
"global": {
"statements": 100,
"branches": 100,
"functions": 100,
"lines": 100
}
}
},
"devDependencies": {
"@testing-library/jest-dom": "5.17.0",
"@testing-library/react": "11.2.7",
"@types/jest": "26.0.24",
"@types/react": "17.0.91",
"@types/react-dom": "17.0.26",
"@types/react-syntax-highlighter": "13.5.2",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
"cross-env": "7.0.3",
"eslint": "7.32.0",
"eslint-config-prettier": "8.10.2",
"eslint-plugin-jest": "24.7.0",
"eslint-plugin-react": "7.37.5",
"eslint-plugin-react-hooks": "4.6.2",
"jest": "26.6.3",
"prettier": "2.8.8",
"raw-loader": "4.0.2",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-syntax-highlighter": "15.4.5",
"rimraf": "3.0.2",
"rollup": "2.80.0",
"rollup-plugin-terser": "7.0.2",
"rollup-plugin-typescript2": "0.36.0",
"ts-jest": "26.5.6",
"ts-loader": "8.4.0",
"typescript": "4.9.5",
"webpack": "5.105.4",
"webpack-cli": "4.10.0",
"webpack-dev-server": "3.11.3"
}
}