responsive-breakpoints 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/package.json +48 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
- Add a TypeScript-based `typecheck` script for JS checking.
|
|
4
|
+
- Add ESLint with the jsdoc plugin and a default lint script.
|
|
5
|
+
- Add a TypeScript build script that emits compiled JS to `build/`.
|
|
6
|
+
- Consolidate TypeScript build/typecheck into a single `tsconfig.json`.
|
|
7
|
+
- Publish only build output and type declarations.
|
|
8
|
+
- Add Jasmine tests and a peak flow config for lint, typecheck, and test.
|
|
9
|
+
- Fix default window width resolution in non-Expo React Native.
|
|
10
|
+
- Bump `@types/react` to align with React Native peer requirements.
|
|
11
|
+
- Add a `release:patch` script for publishing patch releases.
|
|
12
|
+
- Adjust TypeScript config to avoid React Native DOM type conflicts.
|
|
13
|
+
- Enforce JSDoc descriptions for params and returns.
|
|
14
|
+
- Avoid referencing `window` directly in typechecked JS.
|
|
15
|
+
- Push `master` during patch releases.
|
package/package.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "responsive-breakpoints",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Responsive breakpoint utilities for React and React Native",
|
|
6
|
+
"main": "build/index.js",
|
|
7
|
+
"types": "build/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": "./build/index.js"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"build/**",
|
|
13
|
+
"CHANGELOG.md",
|
|
14
|
+
"package.json"
|
|
15
|
+
],
|
|
16
|
+
"keywords": [
|
|
17
|
+
"breakpoints",
|
|
18
|
+
"react",
|
|
19
|
+
"react-native",
|
|
20
|
+
"responsive"
|
|
21
|
+
],
|
|
22
|
+
"author": "kaspernj <kasper@diestoeckels.de> (github.com/kaspernj)",
|
|
23
|
+
"license": "MIT",
|
|
24
|
+
"scripts": {
|
|
25
|
+
"build": "tsc --outDir build",
|
|
26
|
+
"lint": "eslint .",
|
|
27
|
+
"release:patch": "node scripts/release-patch.js",
|
|
28
|
+
"test": "jasmine",
|
|
29
|
+
"typecheck": "tsc --noEmit"
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"diggerize": ">= 1.0.10",
|
|
33
|
+
"env-sense": ">= 1.0.2",
|
|
34
|
+
"inflection": ">= 1.12.0",
|
|
35
|
+
"set-state-compare": ">= 1.0.69"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@types/react": "^19.1.1",
|
|
39
|
+
"eslint": "^8.57.0",
|
|
40
|
+
"eslint-plugin-jsdoc": "^48.2.8",
|
|
41
|
+
"jasmine": "^5.1.1",
|
|
42
|
+
"typescript": "^5.4.5"
|
|
43
|
+
},
|
|
44
|
+
"peerDependencies": {
|
|
45
|
+
"react": ">=18.3.0",
|
|
46
|
+
"react-native": "*"
|
|
47
|
+
}
|
|
48
|
+
}
|