UNPKG

frcb

Version:
66 lines (65 loc) 1.86 kB
{ "name": "frcb", "version": "0.1.2", "description": "Fat Responsive Checkbox", "main": "build/index.js", "scripts": { "test": "eslint src", "clean:build": "rimraf build && mkdirp build", "clean:demo": "rimraf demo && mkdirp demo", "clean": "npm run -s clean:build && npm run -s clean:demo", "prebuild": "npm run -s clean", "build:js": "babel --stage 0 --ignore src/demo.js -d build src", "build:demo": "NODE_ENV=production browserify -t [babelify --stage 0] -t envify -t [uglifyify --no-sourcemap] src/demo.js -o demo/frcb.js", "build:css": "unistyle --no-babel -o demo/frcb.css style", "build:html": "cp demo.html demo/index.html", "build": "npm run -s build:js && npm run -s build:css && npm run -s build:demo && npm run -s build:html", "predeploy": "git subtree split --prefix demo -b gh-pages", "deploy": "git push -f origin gh-pages:gh-pages", "postdeploy": "git branch -D gh-pages", "prepublish": "npm run -s build" }, "keywords": [ "react", "component", "unistyle", "responsive", "checkbox", "css" ], "author": { "name": "Joakim Carlstein", "email": "joakim@klei.se" }, "license": "MIT", "devDependencies": { "babel": "^5.8.23", "babelify": "^6.3.0", "browserify": "^11.2.0", "envify": "^3.4.0", "eslint": "^1.5.1", "eslint-config-xo": "^0.6.0", "eslint-config-xo-react": "^0.3.0", "eslint-plugin-react": "^3.5.0", "mkdirp": "^0.5.1", "react": "^0.13.3", "rimraf": "^2.4.3", "uglifyify": "^3.0.1", "unistyle": "^0.2.0" }, "repository": "joakimbeng/frcb", "dependencies": { "classnameify": "^1.0.0", "classnames": "^2.1.3", "cngen": "^1.0.0" }, "eslintConfig": { "env": { "browser": true }, "extends": [ "xo/esnext", "xo-react" ] } }