-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
87 lines (87 loc) · 2.25 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
{
"name": "@w11r/use-breakpoint",
"version": "2.0.0",
"description": "React useBreakpoint hook to have different values for a variable based on a breakpoints.",
"main": "dist/cjs/index.js",
"module": "dist/index.js",
"scripts": {
"start": "mhy sb-start",
"test": "mhy jest && mhy tsc",
"build": "mhy sb-build && npm run build:es6 && npm run build:cjs",
"build:es6": "mhy bb --mhy-env=prod",
"build:cjs": "mhy bb --mhy-env=prod:cjs",
"config": "mhy config typescript eslint prettier -io",
"release": "npm run test && npm run build && git add -A && mhy sv && npx conventional-github-releaser -t"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wintercounter/use-breakpoint.git"
},
"keywords": [
"react",
"hook",
"useBreakpoint",
"responsive",
"mobile",
"tablet"
],
"author": "Victor Vincent <wintercounter@gmail.com> (http://wintercounter.me)",
"license": "MIT",
"bugs": {
"url": "https://github.com/wintercounter/use-breakpoint/issues"
},
"homepage": "https://github.com/wintercounter/use-breakpoint#readme",
"mhy": {
"storybook": {
"root": {
"build": {
"output-dir": "docs"
}
}
},
"mhy": {
"cjs": {
"distFolder": "dist/cjs"
}
},
"babel": {
"cjs": {
"presets": [
{
"$match": {
"query": "$[?(@[0].includes('preset-env'))]",
"value": [
{
"$match": {
"index": 1,
"value": {
"modules": "commonjs",
"targets": {
"$replace": {
"node": true,
"browsers": false,
"esmodules": true
}
}
}
}
}
]
}
}
],
"plugins": [
{
"$prepend": {
"$expression": "$params.require.resolve('babel-plugin-add-module-exports')"
}
}
]
}
}
},
"mhyDependencies": {
"react": "^16.12.0",
"@storybook/react": "^5.2.8"
}
}