Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (44 sloc) 1.25 KB
{
"name": "swedish-time",
"version": "1.0.0",
"description": "Playing around with React, Babel, Browserify and cssnext.",
"private": "true",
"main": "src/js/index.js",
"repository": {
"type": "git",
"url": "https://github.com/gummesson/swedish-time.git"
},
"keywords": [
"react",
"playground"
],
"author": "Ellen Gummesson",
"license": "MIT",
"bugs": {
"url": "https://github.com/gummesson/swedish-time/issues"
},
"homepage": "https://github.com/gummesson/swedish-time",
"dependencies": {
"jsonp": "^0.1.0",
"normalize.css": "^3.0.2",
"react": "^0.12.2",
"tiny-element": "^1.1.0"
},
"devDependencies": {
"babelify": "^5.0.3",
"browserify": "^8.1.3",
"cssnext": "^1.0.0",
"http-server": "^0.7.4",
"uglifyify": "^3.0.1"
},
"scripts": {
"start": "npm install && npm run setup && npm run dist",
"setup": "rm -rf dist && mkdir dist",
"dist": "npm run js && npm run css && npm run html",
"js": "browserify -t babelify -g uglifyify -e src/js/index.js > dist/index.js",
"css": "cssnext -c src/css/index.css > dist/index.css",
"html": "cp -r src/*.html dist/",
"serve": "http-server -p 5555 dist/",
"deploy": "git subtree push --prefix dist origin gh-pages"
}
}