56 lines
1.6 KiB
JSON
56 lines
1.6 KiB
JSON
{
|
|
"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": "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.6.4",
|
|
"@babel/core": "^7.6.4",
|
|
"@babel/preset-env": "^7.6.3",
|
|
"@babel/preset-react": "^7.6.3",
|
|
"@babel/register": "^7.6.2",
|
|
"babel-eslint": "^10.0.3",
|
|
"eslint": "6.6.0",
|
|
"eslint-config-prettier": "6.4.0",
|
|
"eslint-plugin-prettier": "3.1.1",
|
|
"jest": "^24.9.0",
|
|
"prettier": "^1.18.2",
|
|
"react": "^16.11.0",
|
|
"react-dom": "^16.11.0",
|
|
"react-is": "^16.11.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=16.4.1"
|
|
},
|
|
"dependencies": {
|
|
"hoist-non-react-statics": "^3.3.0",
|
|
"prop-types": "^15.5.0"
|
|
}
|
|
}
|