forked from NewDadaFE/react-impression
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 3.72 KB
/
package.json
File metadata and controls
106 lines (106 loc) · 3.72 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "react-impression",
"version": "1.2.6",
"author": "NewDadaFE",
"description": "An enterprise-class UI design language and React-based implementation.",
"main": "./dist/scripts/index.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/NewDadaFE/react-impression.git"
},
"homepage": "https://github.com/NewDadaFE/react-impression",
"scripts": {
"eslint": "eslint ./src/scripts/",
"start": "gulp build && webpack-dashboard -- webpack-dev-server --config webpack.dev.config.js --colors --port 9008",
"build:site": "gulp build && webpack -p --config webpack.prod.config.js",
"scsslint": "scss-lint src/styles/**/*.scss",
"clean": "rimraf ./dist && mkdir dist",
"copy": "cp -a src/styles dist/styles",
"compile:js": "node_modules/babel-cli/bin/babel.js src/scripts/components/impression --out-dir dist/scripts/",
"compile:scss": "sass src/styles/index.scss dist/index.css",
"compile:minscss": "sass --style compressed src/styles/index.scss dist/index.min.css",
"prebuild": "npm run eslint && npm run clean",
"build": "npm run compile:js && npm run compile:scss && npm run compile:minscss",
"postbuild": "npm run copy && npm publish",
"prepublish": "npm config set registry http://registry.npmjs.org",
"postpublish": "npm config set registry https://registry.npm.taobao.org/",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage"
},
"dependencies": {
"classnames": "^2.2.0",
"highlight.js": "^9.9.0",
"moment": "^2.14.1",
"perfect-scrollbar": "^0.6.12",
"react": "^15.4.1",
"react-dom": "^15.4.1",
"react-addons-css-transition-group": "^15.4.1"
},
"peerDependencies": {
"react-router": "^3.0.2"
},
"jest": {
"moduleFileExtensions": [
"js",
"jsx"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
".*\\.(css|less|scss)$": "<rootDir>/__mocks__/styleMock.js"
},
"transform": {
"^.+\\.js$": "babel-jest"
}
},
"devDependencies": {
"babel": "^6.5.2",
"babel-cli": "^6.10.1",
"babel-core": "^6.7.7",
"babel-eslint": "^6.0.4",
"babel-jest": "^20.0.3",
"babel-loader": "^6.2.4",
"babel-plugin-syntax-decorators": "^6.8.0",
"babel-plugin-transform-class-properties": "^6.8.0",
"babel-plugin-transform-decorators": "^6.8.0",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-runtime": "^6.8.0",
"babel-preset-es2015": "^6.6.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-0": "^6.5.0",
"babel-runtime": "^6.11.6",
"enzyme": "^2.8.2",
"eslint": "^3.4.0",
"eslint-config-airbnb": "^10.0.1",
"eslint-config-react-impression": "^1.0.6",
"eslint-loader": "^1.6.1",
"eslint-plugin-babel": "^3.2.0",
"eslint-plugin-flow-vars": "^0.3.0",
"eslint-plugin-import": "^1.14.0",
"eslint-plugin-jsx-a11y": "^2.2.1",
"eslint-plugin-react": "^6.2.0",
"file-loader": "^0.8.5",
"gulp": "^3.9.1",
"gulp-autoprefixer": "^3.1.1",
"gulp-clean": "^0.3.2",
"gulp-imagemin": "^3.0.3",
"gulp-minify-css": "^1.2.4",
"gulp-rename": "^1.2.2",
"gulp-run-sequence": "^0.3.2",
"gulp-sass": "^2.3.2",
"gulp-watch": "^4.3.9",
"html-webpack-plugin": "^2.16.0",
"jest": "^20.0.4",
"json-loader": "^0.5.4",
"node-libs-browser": "^1.0.0",
"node-sass": "^3.6.0",
"react-addons-test-utils": "^15.4.1",
"react-hot-loader": "^3.0.0-beta.6",
"react-test-renderer": "^15.5.4",
"url-loader": "^0.5.7",
"webpack": "^1.13.0",
"webpack-dashboard": "^0.1.1",
"webpack-dev-server": "^1.14.1"
}
}