@rific/splash-gate 0.2.0 → 0.2.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/package.json +10 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rific/splash-gate",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Name every async condition an Expo app's first screen depends on (theme, fonts, saved preferences, auth, ...) and hold the splash screen up until all of them report ready — instead of hand-rolling a fresh ad hoc gate per project",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"expo",
|
|
@@ -41,29 +41,28 @@
|
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
|
|
43
43
|
"build:watch": "tsup src/index.ts --format cjs,esm --dts --watch",
|
|
44
|
+
"ci": "npm run lint && npm test && npm run typecheck && npm run build",
|
|
44
45
|
"fix": "eslint --fix",
|
|
45
46
|
"lint": "eslint",
|
|
46
47
|
"prepublishOnly": "npm run build",
|
|
47
48
|
"release": "git push --follow-tags",
|
|
48
|
-
"release:major": "npm version major &&
|
|
49
|
-
"release:minor": "npm version minor &&
|
|
50
|
-
"release:patch": "npm version patch &&
|
|
49
|
+
"release:major": "npm version major && npm run release",
|
|
50
|
+
"release:minor": "npm version minor && npm run release",
|
|
51
|
+
"release:patch": "npm version patch && npm run release",
|
|
51
52
|
"test": "jest",
|
|
52
53
|
"test:watch": "jest --watchAll",
|
|
53
54
|
"typecheck": "tsc --noEmit",
|
|
54
|
-
"preversion": "npm run
|
|
55
|
+
"preversion": "npm run ci"
|
|
55
56
|
},
|
|
57
|
+
"prettier": "@infinitetoken/eslint-config/prettier",
|
|
56
58
|
"devDependencies": {
|
|
59
|
+
"@infinitetoken/eslint-config": "^0.1.4",
|
|
60
|
+
"@infinitetoken/tsconfig": "^0.1.1",
|
|
57
61
|
"@testing-library/dom": "^10.4.1",
|
|
58
62
|
"@testing-library/react": "^16.3.2",
|
|
59
63
|
"@types/jest": "^30.0.0",
|
|
60
64
|
"@types/react": "^19.0.0",
|
|
61
|
-
"@typescript-eslint/parser": "^8.59.3",
|
|
62
65
|
"eslint": "^9.39.4",
|
|
63
|
-
"eslint-config-prettier": "^10.1.8",
|
|
64
|
-
"eslint-plugin-package-json": "^1.0.0",
|
|
65
|
-
"eslint-plugin-prettier": "^5.5.5",
|
|
66
|
-
"eslint-plugin-simple-import-sort": "^13.0.0",
|
|
67
66
|
"expo-splash-screen": "^57.0.5",
|
|
68
67
|
"jest": "^30.4.2",
|
|
69
68
|
"jest-environment-jsdom": "^30.4.1",
|
|
@@ -73,8 +72,7 @@
|
|
|
73
72
|
"ts-jest": "^29.4.9",
|
|
74
73
|
"ts-node": "^10.9.2",
|
|
75
74
|
"tsup": "^8.0.0",
|
|
76
|
-
"typescript": "^6.0.3"
|
|
77
|
-
"typescript-eslint": "^8.59.3"
|
|
75
|
+
"typescript": "^6.0.3"
|
|
78
76
|
},
|
|
79
77
|
"peerDependencies": {
|
|
80
78
|
"expo-splash-screen": ">=57.0.0",
|