-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·171 lines (171 loc) · 3.98 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
{
"name": "@dash-ui/mq",
"version": "1.0.1",
"description": "A utility function for adding reusable media queries and breakpoints to @dash-ui styles",
"license": "MIT",
"author": "Jared Lunde <[email protected]> (https://jaredlunde.com/)",
"homepage": "https://github.com/dash-ui/mq#readme",
"repository": "github:dash-ui/mq",
"bugs": "https://github.com/dash-ui/mq/issues",
"main": "dist/main/index.js",
"module": "dist/module/index.js",
"files": [
"/dist",
"/src",
"/types"
],
"scripts": {
"build": "lundle build --umd-case camel",
"check-types": "lundle check-types",
"dev": "lundle build -f module,cjs -w",
"format": "prettier --write \"{,!(node_modules|dist|coverage)/**/}*.{ts,js,md,yml,json}\"",
"lint": "eslint . --ext .ts",
"prepare": "husky install",
"test": "jest",
"validate": "lundle check-types && pnpm run lint && jest --coverage"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"sideEffects": false,
"types": "types/index.d.ts",
"peerDependencies": {
"@dash-ui/styles": ">=1.0.1"
},
"devDependencies": {
"@commitlint/cli": "latest",
"@commitlint/config-conventional": "latest",
"@dash-ui/styles": "^1.0.1",
"@semantic-release/changelog": "^6.0.0",
"@semantic-release/git": "^10.0.0",
"@swc-node/core": "^1.6.0",
"@swc-node/jest": "^1.3.2",
"@types/jest": "latest",
"cz-conventional-changelog": "latest",
"eslint": "latest",
"eslint-config-lunde": "latest",
"husky": "latest",
"jest": "27",
"lint-staged": "latest",
"lundle": "latest",
"prettier": "latest",
"typescript": "latest"
},
"keywords": [
"dash",
"dash breakpoints",
"dash media queries",
"dash ui",
"dash ui breakpoints",
"dash ui media queries",
"mq"
],
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"eslintConfig": {
"extends": [
"lunde"
],
"rules": {
"@typescript-eslint/explicit-function-return-type": [
"warn"
]
}
},
"eslintIgnore": [
"node_modules",
"coverage",
"dist",
"/types",
"test",
"*.config.js"
],
"exports": {
".": {
"browser": "./dist/module/index.js",
"import": "./dist/esm/index.mjs",
"require": "./dist/main/index.js",
"umd": "./dist/umd/dash-mq.js",
"source": "./src/index.ts",
"types": "./types/index.d.ts",
"default": "./dist/main/index.js"
},
"./package.json": "./package.json",
"./": "./"
},
"jest": {
"collectCoverageFrom": [
"**/src/**/*.ts"
],
"globals": {
"__DEV__": true
},
"moduleDirectories": [
"node_modules",
"src",
"test"
],
"setupFilesAfterEnv": [
"./test/setup.ts"
],
"snapshotResolver": "./test/resolve-snapshot.js",
"testMatch": [
"<rootDir>/src/**/?(*.)test.ts"
],
"transform": {
"^.+\\.(t|j)s?$": [
"@swc-node/jest"
]
}
},
"lint-staged": {
"package.json": [
"pnpm dlx prettier-package-json --write"
],
"**/*.{ts,js}": [
"eslint --ext .ts,.js --fix",
"prettier --write"
],
"**/*.{md,yml,json}": [
"prettier --write"
]
},
"release": {
"branches": [
"main",
{
"name": "next",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/git",
{
"assets": [
"types",
"CHANGELOG.md",
"package.json"
],
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}"
}
],
"@semantic-release/github"
]
},
"source": "src/index.ts",
"unpkg": "dist/umd/dash-mq.js"
}