-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
102 lines (102 loc) · 2.89 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
{
"name": "fe-datepicker",
"version": "0.0.3",
"description": "",
"main": "src/index.js",
"files": [
"src"
],
"scripts": {
"hook": "[ -d .git ] && chmod +x .pre-commit && mkdir -p .git/hooks && ln -sf ../../.pre-commit .git/hooks/pre-commit && echo \"\\x1B[01;93mAdd git pre-commit hook successed.\\x1B[0m\" || echo \"\\x1B[31mWarning: Add git pre-commit hook failed.\\x1B[0m\"",
"postinstall": "npm run hook & npm run update",
"dev": "NODE_ENV=development start-storybook -p 9001",
"start": "npm run dev",
"clean": "rimraf lib/* || true",
"prebuild": "npm run clean",
"build:js": "babel ./src --out-dir ./lib",
"build:css": "stylus ./src -o ./lib",
"build:img": "imagemin src/* --out-dir=lib",
"build": "npm run build:js & npm run build:css & npm run build:img || true",
"prepublish": "npm version patch -m \"bump %s\"",
"update": "updtr",
"lint": "standard | snazzy",
"pretest": "npm run lint",
"test": "true",
"test:watch": "npm run test -- --watch --watch-extensions jsx"
},
"repository": {
"type": "git",
"url": "git@github.com:fe-components/fe-datepicker.git"
},
"devDependencies": {
"@kadira/storybook": "^2.5.1",
"ava": "^0.16.0",
"babel-cli": "^6.14.0",
"babel-core": "^6.14.0",
"babel-eslint": "^6.0.4",
"babel-loader": "^6.2.4",
"babel-preset-fe": "^1.0.13",
"css-loader": "^0.24.0",
"enzyme": "^2.3.0",
"es6-promise": "^3.2.1",
"espower": "^1.2.1",
"eventsource-polyfill": "^0.9.6",
"exports-loader": "^0.6.3",
"extract-text-webpack-plugin": "^1.0.1",
"file-loader": "^0.9.0",
"html-loader": "^0.4.3",
"image-loader": "0.0.1",
"image-webpack-loader": "^2.0.0",
"imagemin-cli": "^3.0.0",
"imports-loader": "^0.6.5",
"jsdom": "^9.0.0",
"json-loader": "^0.5.4",
"nyc": "^8.1.0",
"open": "0.0.5",
"react-addons-test-utils": "^15.0.2",
"react-css-modules": "^3.7.6",
"react-hot-loader": "^3.0.0-beta.2",
"react-transform-hmr": "^1.0.4",
"rimraf": "^2.5.2",
"sinon": "^1.17.4",
"snazzy": "^4.0.0",
"standard-format": "^2.2.3",
"style-loader": "^0.13.1",
"stylint": "^1.3.10",
"stylus": "^0.54.5",
"stylus-loader": "^2.0.0",
"updtr": "^0.2.1",
"url-loader": "^0.5.7",
"webpack": "^2.1.0-beta.6",
"webpack-dev-server": "^2.0.0-beta"
},
"dependencies": {
"babel-preset-fe": "^1.0.13",
"moment": "^2.13.0",
"react": "^15.0.2",
"react-datepicker": "^0.29.0",
"react-dom": "^15.0.2",
"whatwg-fetch": "^1.0.0"
},
"standard": {
"parser": "babel-eslint",
"global": [
"alert",
"fetch"
],
"ignore": [
"dist/",
"mock/",
"lib/",
".storybook/"
]
},
"ava": {
"babel": "inherit",
"require": [
"./test/helpers/setup-test-env.js"
]
},
"author": "G freeman <leecade@163.com>",
"license": "ISC"
}