-
Notifications
You must be signed in to change notification settings - Fork 60
/
package.json
83 lines (83 loc) · 2.33 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
{
"name": "sweetalert-react",
"version": "0.4.11",
"description": "Declarative SweetAlert in React",
"main": "lib/index.js",
"license": "MIT",
"repository": "chentsulin/sweetalert-react",
"scripts": {
"clean": "rimraf lib dist coverage",
"lint": "eslint .",
"test": "jest",
"test:watch": "npm test -- --watch",
"test:cov": "npm test -- --coverage",
"check": "npm run lint && npm run test",
"build:lib": "babel src --out-dir lib --ignore __tests__",
"build:umd": "webpack src/index.js dist/sweetalert-react.js --config webpack.config.development.js",
"build:umd:min": "webpack src/index.js dist/sweetalert-react.min.js --config webpack.config.production.js",
"build": "npm run clean && npm run build:lib && npm run build:umd && npm run build:umd:min",
"preversion": "npm run clean && npm run check",
"version": "npm run build",
"postversion": "git push && git push --tags && npm run clean",
"prepublish": "npm run clean && npm run build"
},
"author": {
"name": "C.T. Lin",
"email": "[email protected]",
"url": "github.com/chentsulin/sweetalert-react"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"lib/"
],
"keywords": [
"alert",
"sweetalert",
"react",
"component",
"react-component"
],
"devDependencies": {
"babel-cli": "^6.18.0",
"babel-eslint": "^7.1.1",
"babel-jest": "^19.0.0",
"babel-loader": "^6.2.10",
"babel-polyfill": "^6.20.0",
"babel-preset-latest": "^6.16.0",
"babel-preset-react": "^6.16.0",
"babel-preset-stage-2": "^6.18.0",
"enzyme": "^2.7.0",
"eslint": "^3.13.1",
"eslint-config-airbnb": "^14.0.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^3.0.2",
"eslint-plugin-react": "^6.9.0",
"jest-cli": "^19.0.2",
"react": "^15.4.2",
"react-addons-test-utils": "^15.4.2",
"react-dom": "^15.4.2",
"rimraf": "^2.5.4",
"webpack": "^1.14.0"
},
"dependencies": {
"lodash.pick": "^4.4.0",
"mousetrap": "^1.6.0",
"prop-types": "^15.0.0",
"sweetalert": "^1.1.3",
"warning": "^3.0.0"
},
"peerDependencies": {
"react": "^0.14.0 || ^15.0.0-0 || ^16.0.0-0"
},
"jest": {
"verbose": true,
"collectCoverageFrom": [
"src/**/*.js"
],
"testPathIgnorePatterns": [
"<rootDir>/lib"
]
}
}