-
Notifications
You must be signed in to change notification settings - Fork 29
/
package.json
57 lines (57 loc) · 1.65 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
{
"name": "react-async-script",
"version": "1.2.0",
"description": "A composition mixin for loading scripts asynchronously for React",
"main": "lib/async-script-loader.js",
"module": "lib/esm/async-script-loader.js",
"scripts": {
"build": "rm -rf lib && npm run build:cjs && npm run build:esm",
"build:cjs": "babel src --out-dir lib",
"build:esm": "cross-env BABEL_ENV=esm babel src --out-dir lib/esm",
"lint": "eslint ./",
"pretty": "prettier --write src/*.js ./*.js test/*.js",
"test": "jest",
"test-watch": "jest --watch",
"prepare": "npm run build"
},
"repository": {
"type": "git",
"url": "https://github.com/dozoisch/react-async-script.git"
},
"keywords": [
"react",
"asynchronous",
"script-loader"
],
"author": "Hugo Dozois <hugo@dozoisch.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/dozoisch/react-async-script/issues"
},
"homepage": "https://github.com/dozoisch/react-async-script",
"devDependencies": {
"@babel/cli": "^7.19.3",
"@babel/core": "^7.19.6",
"@babel/preset-env": "^7.19.4",
"@babel/preset-react": "^7.18.6",
"@testing-library/react": "^13.4.0",
"cross-env": "^7.0.3",
"eslint": "^8.26.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.10",
"jest": "^29.2.2",
"jest-environment-jsdom": "^29.2.2",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-is": "^18.2.0"
},
"peerDependencies": {
"react": ">=16.4.1"
},
"dependencies": {
"hoist-non-react-statics": "^3.3.2",
"prop-types": "^15.5.0"
}
}