forked from dozoisch/react-async-script
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
55 lines (55 loc) · 1.56 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
{
"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 <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/dozoisch/react-async-script/issues"
},
"homepage": "https://github.com/dozoisch/react-async-script",
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.0",
"@babel/preset-env": "^7.16.0",
"@babel/preset-react": "^7.16.0",
"cross-env": "^7.0.3",
"eslint": "^8.1.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.26.1",
"jest": "^27.3.1",
"prettier": "^2.4.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-is": "^17.0.2"
},
"peerDependencies": {
"react": ">=16.4.1"
},
"dependencies": {
"hoist-non-react-statics": "^3.3.2",
"prop-types": "^15.5.0"
}
}