This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.29 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
{
"name": "@gitpad/toast-tips",
"version": "0.1.4",
"description": "toast tips like android or ios",
"main": "index.js",
"scripts": {
"clean": "rimraf dist/",
"dist": "npm run clean && webpack --config ./dev/webpack.config.js",
"example": "webpack --config ./dev/webpack.example.js",
"start": "node ./dev/serve.js",
"prepublishOnly": "npm run dist && npm run example",
"pub": "npm publish --access public",
"test": "node ./dev/jest/start.js",
"test:coverage": "npm run test -- --coverage",
"ghpages": "npm run example && git subtree push --prefix example-dist/ origin gh-pages",
"coverage": "cat ./coverage/lcov.info | coveralls"
},
"repository": {
"type": "git",
"url": ""
},
"author": "yeluoqiuzhi",
"license": "MIT",
"bugs": {
"url": "https://github.com/gitpadtech/toast-tips/issues"
},
"homepage": "https://github.com/gitpadtech/toast-tips",
"devDependencies": {
"autoprefixer": "^8.2.0",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.4",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"coveralls": "^3.0.0",
"css-loader": "^0.28.11",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"html-webpack-plugin": "^3.2.0",
"jest": "^22.4.3",
"node-sass": "^4.8.3",
"postcss": "^6.0.21",
"postcss-loader": "^2.1.3",
"prop-types": "^15.6.1",
"raf": "^3.4.0",
"rimraf": "^2.6.2",
"sass-loader": "^6.0.7",
"style-loader": "^0.20.3",
"webpack": "^4.5.0",
"webpack-cli": "^2.0.14",
"webpack-merge": "^4.1.2",
"webpack-serve": "^0.3.1",
"whatwg-fetch": "^2.0.4",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"react": "^16.3.1",
"react-dom": "^16.3.1"
},
"dependencies": {
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,mjs}"
],
"setupFiles": [
"<rootDir>/dev/jest/setup.js"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|scss)$": "<rootDir>/__mocks__/style-mock.js"
},
"testMatch": [
"<rootDir>/**/__tests__/**/?(*.)(spec|test).{js,jsx,mjs}",
"<rootDir>/src/**/?(*.)(spec|test).{js,jsx,mjs}"
]
}
}