element-web/package.json

41 lines
1.4 KiB
JSON

{
"name": "vector-web",
"version": "0.0.1",
"description": "Vector webapp",
"author": "matrix.org",
"repository": {
"type": "git",
"url": "https://github.com/vector-im/vector-web"
},
"license": "Apache-2.0",
"style": "bundle.css",
"scripts": {
"reskindex": "reskindex base -h src/skins/base/header",
"build": "NODE_ENV=production browserify --ignore olm -t reactify src/index.js | uglifyjs -c -m -o vector/bundle.js",
"start": "parallelshell 'watchify --ignore olm -v -d -t reactify src/index.js -o vector/bundle.js' 'npm run start:skins:css' 'http-server vector'",
"build:skins:js": "babel src/skins -d lib/skins --source-maps",
"build:skins:css": "catw 'src/skins/base/css/**/*.css' -o vector/bundle.css -c uglifycss --no-watch",
"start:skins:css": "catw 'src/skins/base/css/**/*.css' -o vector/bundle.css",
"clean": "rimraf lib vector/bundle.css vector/bundle.js",
"prepublish": "npm run build:skins"
},
"dependencies": {
"matrix-react-sdk": "^0.0.1",
"classnames": "^2.1.2",
"filesize": "^3.1.2",
"flux": "~2.0.3",
"q": "^1.4.1",
"react": "^0.13.3",
"react-loader": "^1.4.0",
"linkifyjs": "^2.0.0-beta.4"
},
"devDependencies": {
"babel": "^5.8.23",
"catw": "^1.0.1",
"parallelshell": "^1.2.0",
"react-tools": "^0.13.3",
"rimraf": "^2.4.3",
"uglifycss": "0.0.15"
}
}