2015-06-09 12:40:42 -04:00
|
|
|
{
|
2015-09-16 09:13:16 -04:00
|
|
|
"name": "vector-web",
|
2015-06-09 12:40:42 -04:00
|
|
|
"version": "0.0.1",
|
2015-09-16 09:13:16 -04:00
|
|
|
"description": "Vector webapp",
|
2015-06-09 12:40:42 -04:00
|
|
|
"author": "matrix.org",
|
2015-06-09 13:52:26 -04:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2015-09-16 09:13:16 -04:00
|
|
|
"url": "https://github.com/vector-im/vector-web"
|
2015-06-09 13:52:26 -04:00
|
|
|
},
|
2015-07-03 10:56:04 -04:00
|
|
|
"license": "Apache-2.0",
|
|
|
|
"style": "bundle.css",
|
2015-06-09 12:40:42 -04:00
|
|
|
"scripts": {
|
2015-09-22 13:49:04 -04:00
|
|
|
"reskindex": "reskindex vector -h src/skins/vector/header",
|
2015-09-25 06:43:28 -04:00
|
|
|
"build:css": "catw 'src/skins/vector/css/**/*.css' -o vector/bundle.css -c uglifycss --no-watch",
|
|
|
|
"build:compile": "babel --source-maps -d lib src",
|
|
|
|
"build:bundle": "NODE_ENV=production webpack -p lib/vector/index.js vector/bundle.js",
|
|
|
|
"build": "npm run build:css && npm run build:compile && npm run build:bundle",
|
|
|
|
"start:js": "webpack -w src/vector/index.js vector/bundle.js",
|
2015-09-23 04:48:18 -04:00
|
|
|
"start:skins:css": "catw 'src/skins/vector/css/**/*.css' -o vector/bundle.css",
|
2015-09-25 12:38:51 -04:00
|
|
|
"//cache": "Note the -c 1 below due to https://code.google.com/p/chromium/issues/detail?id=508270",
|
|
|
|
"start": "parallelshell 'npm run start:js' 'npm run start:skins:css' 'http-server -c 1 vector'",
|
2015-09-25 06:51:35 -04:00
|
|
|
"clean": "rimraf lib vector/bundle.css vector/bundle.js vector/bundle.js.map",
|
2015-09-25 06:43:28 -04:00
|
|
|
"prepublish": "npm run build:css && npm run build:compile"
|
2015-06-09 12:40:42 -04:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2015-06-12 12:34:17 -04:00
|
|
|
"classnames": "^2.1.2",
|
2015-07-08 11:25:27 -04:00
|
|
|
"filesize": "^3.1.2",
|
2015-08-29 15:28:07 -04:00
|
|
|
"flux": "~2.0.3",
|
2015-09-30 11:52:45 -04:00
|
|
|
"linkifyjs": "^2.0.0-beta.4",
|
|
|
|
"matrix-js-sdk": "^0.2.1",
|
|
|
|
"matrix-react-sdk": "^0.0.1",
|
2015-07-08 09:34:26 -04:00
|
|
|
"q": "^1.4.1",
|
2015-07-12 09:26:51 -04:00
|
|
|
"react": "^0.13.3",
|
2015-09-30 11:52:45 -04:00
|
|
|
"react-loader": "^1.4.0"
|
2015-06-09 12:40:42 -04:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2015-09-22 12:20:22 -04:00
|
|
|
"babel": "^5.8.23",
|
2015-09-25 06:43:28 -04:00
|
|
|
"babel-core": "^5.8.25",
|
|
|
|
"babel-loader": "^5.3.2",
|
2015-06-10 10:54:36 -04:00
|
|
|
"catw": "^1.0.1",
|
2015-09-25 06:43:28 -04:00
|
|
|
"http-server": "^0.8.4",
|
2015-07-22 03:25:40 -04:00
|
|
|
"parallelshell": "^1.2.0",
|
2015-09-22 12:20:22 -04:00
|
|
|
"rimraf": "^2.4.3",
|
2015-09-25 06:43:28 -04:00
|
|
|
"source-map-loader": "^0.1.5",
|
2015-06-10 10:54:36 -04:00
|
|
|
"uglifycss": "0.0.15"
|
2015-06-09 12:40:42 -04:00
|
|
|
}
|
|
|
|
}
|