-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
142 lines (142 loc) · 4.53 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "rc-message",
"version": "1.3.7",
"main": "lib/index.js",
"description": "a message notice ui component for react",
"scripts": {
"start": "yarn demo",
"lint": "prettier --write \"src/**/*.js\" && eslint_d --fix src",
"clean": "rimraf lib && rimraf assets",
"auto": "postcss -u autoprefixer -c postcss.config.json --no-map -o assets/index.css assets/index.css",
"build:css": "lessc src/styles.less assets/index.css && yarn auto",
"build:js": "babel src -d lib",
"build": "cross-env NODE_ENV=production yarn run clean && yarn build:js && yarn build:css",
"build:demo": "webpack --env.mode=PROD --progress --config ./example/webpack.config.js",
"demo": "webpack-dev-server --progress --inline --hot --config ./example/webpack.config.js",
"prepublish": "yarn build",
"test": "jest __tests__/tests",
"coverage": "yarn test -- --coverage",
"ci": "yarn coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"precommit": "lint-staged"
},
"author": "Jinke.li",
"repository": {
"type": "git",
"url": "https://github.com/lijinke666/rc-message"
},
"homepage": "https://lijinke666.github.io/rc-message",
"bugs": {
"url": "https://github.com/lijinke666/rc-message"
},
"license": "MIT",
"keywords": [
"react",
"reactjs",
"ui",
"notice",
"message",
"component"
],
"dependencies": {
"classnames": "^2.2.5",
"prop-types": "^15.6.0",
"react-icons": "^2.2.5"
},
"devDependencies": {
"@babel/cli": "7.0.0-beta.44",
"@babel/core": "7.0.0-beta.44",
"@babel/plugin-proposal-class-properties": "7.0.0-beta.44",
"@babel/plugin-proposal-object-rest-spread": "7.0.0-beta.44",
"@babel/plugin-syntax-dynamic-import": "7.0.0-beta.44",
"@babel/plugin-syntax-object-rest-spread": "7.0.0-beta.44",
"@babel/plugin-transform-object-assign": "7.0.0-beta.44",
"@babel/plugin-transform-runtime": "7.0.0-beta.44",
"@babel/preset-env": "7.0.0-beta.44",
"@babel/preset-react": "7.0.0-beta.44",
"@babel/preset-stage-0": "7.0.0-beta.44",
"@babel/preset-stage-1": "7.0.0-beta.44",
"@babel/runtime": "7.0.0-beta.44",
"autoprefixer": "^6.7.2",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^8.2.3",
"babel-jest": "^22.4.3",
"babel-loader": "^8.0.0-beta.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-dynamic-import-node": "^1.0.2",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"copy-webpack-plugin": "latest",
"coveralls": "^3.0.1",
"cross-env": "^5.1.5",
"css-loader": "~0.23.0",
"enzyme": "^3.2.0",
"enzyme-adapter-react-16": "^1.1.0",
"enzyme-to-json": "^3.3.3",
"eslint": "^4.19.1",
"eslint-plugin-babel": "^5.1.0",
"eslint-plugin-react": "^7.7.0",
"eslint_d": "^5.3.0",
"extract-text-webpack-plugin": "^2.0.0-beta.4",
"file-loader": "^0.9.0",
"html-loader": "^0.4.4",
"html-webpack-plugin": "^2.28.0",
"imagemin-webpack-plugin": "^1.4.4",
"jest": "^22.4.3",
"jest-environment-jsdom": "^22.4.3",
"jsdom": "^11.8.0",
"less": "^2.7.2",
"less-loader": "^2.2.3",
"open-browser-webpack-plugin": "0.0.2",
"optimize-css-assets-webpack-plugin": "^1.3.0",
"postcss": "^6.0.12",
"postcss-cli": "^4.1.1",
"postcss-loader": "^1.2.2",
"power-assert": "^1.5.0",
"prettier": "^1.12.1",
"rc-button": "^0.1.5",
"react": "^16.4.2",
"react-dom": "^16.4.2",
"react-hot-loader": "^4.3.4",
"react-loader": "^2.4.0",
"react-test-renderer": "^15.6.1",
"regenerator-runtime": "^0.11.0",
"rimraf": "^2.6.0",
"style-loader": "~0.13.0",
"url-loader": "^0.5.8",
"webpack": "^2.7.0",
"webpack-dev-server": "^2.3.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"jsx",
"json"
],
"transformIgnorePatterns": [
"/node_modules/",
".history/*"
],
"modulePathIgnorePatterns": [
"/.history/"
],
"moduleDirectories": [
"node_modules",
".",
"src",
"src/shared"
],
"setupTestFrameworkScriptFile": "<rootDir>/__tests__/setup.js",
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"transform": {
"^.+\\.jsx?$": "babel-jest"
},
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__tests__/__mocks__/fileMock.js",
"\\.(css|less)$": "<rootDir>/__tests__/__mocks__/styleMock.js"
}
}
}