forked from james-oldfield/react-rpg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 4.33 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
{
"name": "react-rpg",
"version": "2.0.0",
"description": "A React component for responsive photo grids in square aspect ratio",
"keywords": [
"responsive images",
"photo grid",
"square image grid",
"react-component"
],
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "https://github.com/james-oldfield/react-rpg.git"
},
"author": "james oldfield",
"license": "MIT",
"bugs": {
"url": "https://github.com/james-oldfield/react-rpg/issues"
},
"homepage": "https://github.com/james-oldfield/react-rpg",
"scripts": {
"postinstall": "node -e \"require('fs').stat('lib', function(e,s){process.exit(e || !s.isDirectory() ? 1 : 0)})\" || npm run build-lib",
"preversion": "npm run check",
"version": "npm run clean && npm run build && git add -A dist",
"clean-dist": "rimraf dist",
"build-dist-min": "webpack --config webpack.config.js",
"build-dist-dev": "webpack --config webpack.config.dev.js",
"build-dist": "npm run clean-dist && npm run build-dist-min && npm run build-dist-dev",
"clean-lib": "rimraf lib",
"build-lib": "npm run clean-lib && babel src -d lib",
"clean": "npm run clean-lib && npm run clean-dist",
"build": "npm run build-lib && npm run build-dist",
"server-dev": "webpack-dev-server --port 3000 --config demo/webpack.config.dev.js --colors --content-base demo",
"server-hot": "webpack-dev-server --port 3000 --config demo/webpack.config.hot.js --colors --hot --content-base demo",
"server-test": "webpack-dev-server --port 3001 --config webpack.config.test.js --colors",
"dev": "concurrent -kr 'npm run server-dev' && 'npm run server-test'",
"hot": "concurrent -kr 'npm run server-hot' 'npm run server-test'",
"open-demo": "opener http://127.0.0.1:3000",
"open-dev": "concurrent -kr 'npm run dev' && 'npm run open-demo'",
"open-hot": "concurrent -kr 'npm run hot' 'npm run open-demo'",
"lint-server": "eslint -c .eslintrc-server *.js demo/webpack.*.js",
"lint-client": "eslint --ext .js,.jsx -c .eslintrc-client src demo/*.jsx",
"lint-client-test": "eslint --ext .js,.jsx -c .eslintrc-client-test src test/client",
"lint": "npm run lint-server && npm run lint-client && npm run lint-client-test",
"test-frontend": "node node_modules/karma/bin/karma start karma.conf.js",
"test-frontend-ci": "node node_modules/karma/bin/karma start --browsers PhantomJS,Firefox karma.conf.coverage.js",
"test-frontend-cov": "node node_modules/karma/bin/karma start karma.conf.coverage.js",
"test-frontend-dev": "node node_modules/karma/bin/karma start karma.conf.dev.js",
"test": "npm run test-frontend && echo 'TODO Server 13, Integration 12 tests.'",
"test-ci": "npm run test-frontend-ci",
"test-cov": "npm run test-frontend-cov",
"test-dev": "npm run test-frontend-dev",
"check": "npm run lint && npm run test",
"check-ci": "npm run lint && npm run test-ci",
"check-cov": "npm run lint && npm run test-cov",
"check-dev": "npm run lint && npm run test-dev"
},
"dependencies": {
"babel": "^5.8.21",
"babel-core": "^5.8.22",
"babel-loader": "^5.3.2",
"css-loader": "^0.20.1",
"file-loader": "^0.8.4",
"rimraf": "^2.4.0",
"style-loader": "^0.12.4",
"url-loader": "~0.5.5",
"webpack": "^1.11.0"
},
"devDependencies": {
"babel-eslint": "^4.1.3",
"chai": "^3.2.0",
"concurrently": "^0.1.1",
"eslint": "^1.10.3",
"eslint-config-airbnb": "^2.0.0",
"eslint-config-defaults": "^7.0.1",
"eslint-plugin-filenames": "^0.1.2",
"eslint-plugin-react": "^3.11.3",
"expect": "^1.20.1",
"isparta-loader": "^1.0.0",
"karma": "^0.13.9",
"karma-chrome-launcher": "^0.2.0",
"karma-coverage": "^0.5.2",
"karma-firefox-launcher": "^0.1.6",
"karma-ie-launcher": "^0.2.0",
"karma-mocha": "^0.2.0",
"karma-phantomjs-launcher": "^0.2.1",
"karma-phantomjs-shim": "^1.1.1",
"karma-safari-launcher": "^0.1.1",
"karma-sauce-launcher": "^0.2.14",
"karma-spec-reporter": "0.0.20",
"karma-webpack": "^1.7.0",
"lodash": "^3.10.1",
"mocha": "^2.2.5",
"opener": "^1.4.1",
"phantomjs": "^1.9.18",
"react": "^0.14.0",
"react-addons-test-utils": "^0.14.0",
"react-dom": "^0.14.0",
"react-hot-loader": "^1.2.8",
"sinon": "^1.16.1",
"sinon-chai": "^2.8.0",
"webpack-dev-server": "^1.10.0"
}
}