-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 2.61 KB
/
package.json
File metadata and controls
94 lines (94 loc) · 2.61 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
94
{
"name": "next-common-props",
"version": "1.0.30",
"description": "Tiny and powerful tool (Next plugin + API) to let you avoid prop drilling and directly use props in any related component",
"main": "./lib/cjs/index.js",
"author": {
"name": "Mukul Kumar",
"email": "mukulk133@gmail.com"
},
"license": "MIT",
"private": false,
"keywords": [
"react",
"preact",
"nextjs",
"next.js",
"next",
"plugin",
"common",
"props",
"globalization"
],
"repository": {
"type": "git",
"url": "https://github.com/developerKumar/next-common-props"
},
"bugs": {
"url": "https://github.com/developerKumar/next-common-props/issues",
"email": "mukulk133@gmail.com"
},
"scripts": {
"build": "yarn clean && cross-env NODE_ENV=production && yarn tsc",
"clean": "yarn clean:build",
"clean:build": "rm -rf lib plugin index _context types commonPropsContext useCommonProps commonPropsHOCContext appWithCommonProps",
"format": "pretty-quick",
"husky": "pretty-quick --staged && yarn test",
"prepare": "husky install",
"prepublish": "yarn build",
"test": "cross-env NODE_ENV=test jest --env=jsdom",
"test:coverage": "cross-env NODE_ENV=test jest --env=jsdom --coverage",
"test:watch": "cross-env NODE_ENV=test jest --env=jsdom --watch",
"tsc": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && node build-packages.js",
"release": "standard-version"
},
"devDependencies": {
"@babel/cli": "^7.17.10",
"@babel/core": "^7.18.2",
"@babel/preset-env": "^7.18.2",
"@babel/preset-typescript": "^7.17.12",
"@testing-library/react": "^13.3.0",
"@types/node": "^17.0.40",
"@types/react": "^18.0.12",
"@types/react-dom": "^18.0.5",
"@types/webpack": "^5.28.0",
"babel-jest": "^28.1.1",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"babel-preset-minify": "^0.5.2",
"cross-env": "^7.0.3",
"husky": "^8.0.1",
"jest": "^28.1.1",
"next": "^12.1.6",
"prettier": "^2.6.2",
"pretty-quick": "^3.1.3",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"standard-version": "^9.5.0",
"supertest": "^6.2.3",
"typescript": "^4.7.3"
},
"peerDependencies": {
"next": ">= 10.0.0",
"react": ">= 16.8.0"
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": true
},
"jest": {
"roots": [
"<rootDir>/__tests__",
"<rootDir>/src"
],
"testPathIgnorePatterns": [
"/node_modules/",
".utils.js"
],
"transform": {
"^.+\\.(j|t)sx?$": "babel-jest"
}
},
"dependencies": {}
}