forked from chentsulin/sweetalert-react
-
Notifications
You must be signed in to change notification settings - Fork 31
/
package.json
95 lines (95 loc) · 2.72 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
89
90
91
92
93
94
95
{
"name": "sweetalert2-react",
"version": "0.8.2",
"description": "Declarative SweetAlert 2 in React",
"main": "dist/sweetalert-react.min.js",
"license": "MIT",
"repository": "alex-shamshurin/sweetalert2-react",
"scripts": {
"clean": "rimraf lib dist coverage",
"lint": "eslint .",
"test": "jest",
"test:watch": "yarn test -- --watch",
"test:cov": "yarn test -- --coverage",
"check": "yarn run lint && yarn run test",
"build:lib": "babel-node src --out-dir lib --ignore __tests__",
"build:umd": "webpack src/index.js -o dist/sweetalert-react.js --config webpack.config.development.js",
"build:umd:min": "webpack src/index.js -o dist/sweetalert-react.min.js --config webpack.config.production.js",
"build": "yarn run clean && yarn run build:lib && yarn run build:umd && yarn run build:umd:min",
"preversion": "yarn run clean && yarn run check",
"version": "yarn run build",
"postversion": "git push && git push --tags && yarn run clean",
"prepublish": "yarn run clean && yarn run build"
},
"author": {
"name": "Shamshurin Alexander",
"email": "[email protected]",
"url": "github.com/alex-shamshurin/sweetalert2-react"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"dist/"
],
"keywords": [
"alert",
"sweetalert",
"react",
"component",
"react-component"
],
"devDependencies": {
"@babel/core": "^7.3.4",
"@babel/node": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.3.4",
"@babel/plugin-proposal-decorators": "^7.3.0",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"babel-jest": "^24.8.0",
"babel-loader": "^8.0.5",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.14.0",
"eslint": "^5.15.2",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.7.0",
"jest": "^24.8.0",
"jest-cli": "^24.5.0",
"prettier": "^1.16.4",
"react": "^16.2.0",
"react-addons-test-utils": "^15.4.2",
"react-dom": "^16.2.0",
"rimraf": "^2.5.4",
"webpack": "^4.29.6",
"webpack-cli": "^3.3.0"
},
"dependencies": {
"lodash.pick": "^4.4.0",
"mousetrap": "^1.6.0",
"prop-types": "^15.0.0",
"sweetalert2": "^8.5.0",
"warning": "^4.0.3"
},
"peerDependencies": {
"react": "^16.0.0",
"react-dom": "^16.0.0"
},
"jest": {
"setupFilesAfterEnv": [
"<rootDir>test_setup.js"
],
"verbose": true,
"collectCoverageFrom": [
"src/**/*.js"
],
"testPathIgnorePatterns": [
"<rootDir>/lib"
],
"unmockedModulePathPatterns": [
"node_modules/react/",
"node_modules/enzyme/"
]
}
}