-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
125 lines (125 loc) · 4 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
{
"name": "ekko",
"version": "0.0.5",
"author": "Xiaofan Wu (https://github.com/xiaofan2406)",
"keywords": ["ekko", "react"],
"repository": "xiaofan2406/ekko",
"bugs": {
"url": "https://github.com/xiaofan2406/ekko/issues"
},
"license": "MIT",
"engines": {
"node": ">=8"
},
"main": "dist/commonjs",
"module": "dist/es6",
"sideEffects": false,
"scripts": {
"precommit": "lint-staged",
"lint:eslint": "eslint src config docs",
"lint:prettier":
"prettier-check '{src,config,docs}/**/*.{js,mjs,json,css,md}'",
"lint": "yarn lint:eslint && yarn lint:prettier",
"format": "prettier '{src,config,docs}/**/*.{js,mjs,json,css,md}' --write",
"test": "NODE_ENV=test jest --watch",
"coverage": "NODE_ENV=test jest --coverage",
"prebuild": "yarn lint && rm -rf dist/es6 dist/commonjs",
"build:commonjs":
"NODE_ENV=production babel src --out-dir dist/commonjs --ignore 'src/**/__tests__/'",
"build:es6":
"NODE_ENV=production MODULE=es6 babel src --out-dir dist/es6 --ignore 'src/**/__tests__/'",
"build": "npm run build:commonjs && npm run build:es6",
"dev":
"NODE_ENV=development webpack-dev-server --config ./config/webpack.dev.js",
"predocs": "rm -rf ./dist/docs",
"docs": "NODE_ENV=production webpack --config ./config/webpack.prod.js",
"start": "node ./config/serveDocs.js",
"docs:publish": "yarn docs && surge -p ./dist/docs -d ekko.surge.sh",
"prepublishOnly": "yarn build",
"postpublish": "git push --follow-tags"
},
"lint-staged": {
"*.{js,mjs,json,css,md}": ["prettier --write", "git add"]
},
"prettier": {
"singleQuote": true,
"trailingComma": "es5"
},
"jest": {
"preset": "<rootDir>/config/jest/jest.config.json"
},
"browserslist": [
"Chrome >= 60",
"Safari >= 10.1",
"iOS >= 10.3",
"Firefox >= 54",
"Edge >= 15"
],
"dependencies": {
"lodash.orderby": "^4.6.0",
"nidalee": "^0.0.16"
},
"peerDependencies": {
"react": "^16.3.2",
"react-dom": "^16.3.2"
},
"devDependencies": {
"@babel/cli": "^7.0.0-beta.46",
"@babel/core": "^7.0.0-beta.46",
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.46",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.46",
"@babel/plugin-syntax-dynamic-import": "^7.0.0-beta.46",
"@babel/preset-env": "^7.0.0-beta.46",
"@babel/preset-flow": "^7.0.0-beta.46",
"@babel/preset-react": "^7.0.0-beta.46",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^8.2.3",
"babel-jest": "^23.0.0-charlie.1",
"babel-loader": "^8.0.0-beta.2",
"babel-plugin-emotion": "^9.1.2",
"css-loader": "^0.28.11",
"emotion": "^9.1.3",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"enzyme-to-json": "^3.3.3",
"escape-string-regexp": "^1.0.5",
"eslint": "^4.19.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-import-resolver-webpack": "^0.9.0",
"eslint-loader": "^2.0.0",
"eslint-plugin-flowtype": "^2.46.3",
"eslint-plugin-import": "^2.11.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.7.0",
"file-loader": "^1.1.11",
"filemanager-webpack-plugin": "^1.0.25",
"flow-bin": "^0.72.0",
"html-webpack-plugin": "^3.2.0",
"husky": "^0.14.3",
"jest": "^22.4.2",
"json-loader": "^0.5.7",
"lint-staged": "^7.1.0",
"mini-css-extract-plugin": "^0.4.0",
"prettier": "^1.12.1",
"prettier-check": "^2.0.0",
"prop-types": "^15.6.1",
"react": "16.3.2",
"react-dom": "16.3.2",
"react-emotion": "^9.1.3",
"react-hot-loader": "^4.1.3",
"react-redux": "^5.0.7",
"react-router-dom": "^4.2.2",
"react-test-renderer": "^16.3.2",
"redux": "^4.0.0",
"redux-immutable-state-invariant": "^2.1.0",
"redux-thunk": "^2.2.0",
"serve": "^6.5.6",
"style-loader": "^0.21.0",
"uglifyjs-webpack-plugin": "^1.2.5",
"url-loader": "^1.0.1",
"webpack": "^4.8.1",
"webpack-cli": "^2.1.3",
"webpack-dev-server": "^3.1.4"
}
}