-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
88 lines (88 loc) · 2.68 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
{
"name": "@moxy/react-wait-for-react",
"version": "2.0.1",
"description": "Easily render a loader while your React app is loading, optionally waiting for a promise as well",
"main": "lib/index.js",
"module": "es/index.js",
"files": [
"lib",
"es"
],
"homepage": "https://github.com/moxystudio/react-wait-for-react#readme",
"author": "André Cruz <[email protected]>",
"license": "MIT",
"keywords": [
"react",
"preload",
"loader",
"splash",
"splash screen",
"launch screen",
"progress",
"isomorphic",
"tti",
"time to interactive",
"fp",
"first paint",
"fcp",
"first contentful paint",
"fmp",
"first meaningful paint",
"fid",
"first input delay",
"promise"
],
"repository": {
"type": "git",
"url": "git+https://github.com/moxystudio/react-wait-for-react.git"
},
"bugs": {
"url": "https://github.com/moxystudio/react-wait-for-react/issues"
},
"scripts": {
"prebuild": "cpr src src-tmp -d && babel src/inline-script.raw.js -o src-tmp/inline-script.raw.js && terser -c -m -o src-tmp/inline-script.raw.js -- src-tmp/inline-script.raw.js",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src-tmp -d lib --delete-dir-on-start",
"build:es": "cross-env BABEL_ENV=es babel src-tmp -d es --delete-dir-on-start",
"build": "npm run build:commonjs && npm run build:es",
"postbuild": "rimraf lib/inline-script.raw.js es/inline-script.raw.js src-tmp",
"test": "jest",
"lint": "eslint --ignore-path .gitignore .",
"prerelease": "npm t && npm run lint && npm run build",
"release": "standard-version",
"postrelease": "git push --follow-tags origin HEAD && npm publish"
},
"peerDependencies": {
"react": ">=16.8.0 <18"
},
"dependencies": {
"lodash": "^4.17.21",
"prop-types": "^15.7.2"
},
"devDependencies": {
"@babel/cli": "^7.13.10",
"@babel/core": "^7.13.10",
"@commitlint/config-conventional": "^12.0.1",
"@moxy/babel-preset": "^3.3.1",
"@moxy/eslint-config-babel": "^13.0.0",
"@moxy/eslint-config-base": "^13.0.0",
"@moxy/eslint-config-jest": "^13.0.0",
"@moxy/eslint-config-react": "^13.0.0",
"@moxy/jest-config-base": "^5.2.0",
"@moxy/jest-config-testing-library": "^5.2.0",
"@moxy/jest-config-web": "^5.2.0",
"@testing-library/react": "^11.2.5",
"babel-plugin-inline-import": "^3.0.0",
"commitlint": "^12.0.1",
"cpr": "^3.0.1",
"cross-env": "^7.0.3",
"eslint": "^7.0.0",
"husky": "^4.3.8",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"p-progress": "^0.5.0",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"standard-version": "^9.1.1",
"terser": "^5.6.1"
}
}