-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.38 KB
/
package.json
File metadata and controls
84 lines (84 loc) · 2.38 KB
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
{
"name": "react-script-loader-hoc",
"description": "A higher-order React component that assists in the asynchronous loading of third party JS libraries (eg. Stripe.js)",
"version": "1.2.2",
"keywords": [
"react",
"reactjs",
"react-component",
"script-loader",
"async",
"stripe",
"loader",
"asynchronous",
"stripe-react-elements",
"higher-order-component"
],
"author": {
"name": "Nick Rogers"
},
"contributors": [
{
"name": "Dom Lyons"
}
],
"main": "dist/scriptLoader.cjs.js",
"module": "dist/scriptLoader.esm.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/sesilio/react-script-loader-hoc"
},
"peerDependencies": {
"react": ">=15.0.0 || >= 16.0.0"
},
"dependencies": {
"hoist-non-react-statics": "^2.3.1",
"react": "^16.8.6"
},
"devDependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/preset-env": "^7.1.0",
"@babel/preset-react": "^7.0.0",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.5.0",
"babel-polyfill": "^6.26.0",
"eslint": "^5.3.0",
"eslint-config-airbnb": "17.1.0",
"eslint-config-prettier": "^3.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jest": "^21.26.1",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-react": "^7.11.0",
"husky": "^1.1.2",
"jest": "^24.5.0",
"jest-dom": "^2.1.0",
"jest-watch-typeahead": "^0.2.0",
"lint-staged": "^7.3.0",
"prettier": "^1.14.3",
"react-dom": "^16.8.4",
"react-testing-library": "^5.2.1",
"rimraf": "^2.6.2",
"rollup": "^0.66.6",
"rollup-plugin-babel": "^4.0.3",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-replace": "^2.1.0"
},
"scripts": {
"test": "jest",
"test:watch": "jest --watch",
"test:debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand",
"lint": "eslint src",
"prettier": "prettier \"**/*.+(js|jsx|json)\"",
"format": "yarn prettier --write",
"validate": "yarn lint && yarn prettier --list-different && yarn test",
"precommit": "lint-staged",
"clean": "rimraf ./dist",
"build": "yarn clean && rollup -c ./rollup.config.js",
"prepublish": "yarn validate && yarn build"
}
}