Clappr v0.2.0をビルドする備忘録

git clone https://github.com/clappr/clappr.git
cd clappr
git checkout afa215a3032c5e4bd18cdef87e9b05e34ef30a88
npm install
gulp build

参考

package.jsonの中身

{
  "name": "clappr",
  "version": "0.2.0",
  "description": "An extensible media player for the web",
  "main": "dist/clappr.min.js",
  "scripts": {
    "release": "node_modules/.bin/webpack --progress -d -p --optimize-minimize --optimize-dedupe --output-filename clappr.min.js",
    "build": "node_modules/.bin/webpack --progress",
    "test": "node_modules/.bin/karma start --single-run --browsers Chrome",
    "serve": "node_modules/.bin/webpack-dev-server --content-base public/ --hot",
    "lock": "rm -rf npm-shrinkwrap.json node_modules && npm install --silent && npm shrinkwrap"
  },
  "repository": {
    "type": "git",
    "url": "git@github.com:clappr/clappr.git"
  },
  "author": "Globo.com",
  "license": "BSD",
  "bugs": {
    "url": "https://github.com/clappr/clappr/issues"
  },
  "browser": {
    "zepto": "clappr-zepto"
  },
  "homepage": "https://github.com/clappr/clappr",
  "devDependencies": {
    "babel-core": "^5.6.20",
    "babel-loader": "^5.3.1",
    "babelify": "5.0.3",
    "bower": "1.3.12",
    "browserify": "9.0.3",
    "browserify-istanbul": "^0.2.1",
    "browserify-versionify": "1.0.3",
    "chai": "1.10.0",
    "compass-mixins": "0.12.3",
    "coveralls": "^2.11.2",
    "css-loader": "^0.15.5",
    "dotenv": "^0.4.0",
    "exorcist": "^0.1.6",
    "express": "^4.6.1",
    "express-alias": "0.4.0",
    "file-loader": "^0.8.4",
    "glob": "^4.0.2",
    "gulp": "^3.8.1",
    "gulp-compressor": "^0.1.0",
    "gulp-jshint": "1.9.0",
    "gulp-livereload": "^2.1.0",
    "gulp-minify-css": "0.3.11",
    "gulp-rename": "^1.2.0",
    "gulp-sass": "1.0.0",
    "gulp-streamify": "0.0.5",
    "gulp-uglify": "1.1.0",
    "gulp-util": "3.0.1",
    "html-loader": "^0.3.0",
    "isparta": "^3.0.3",
    "istanbul": "^0.3.8",
    "istanbul-instrumenter-loader": "^0.1.3",
    "karma": "^0.13.3",
    "karma-chai": "^0.1.0",
    "karma-chai-sinon": "^0.1.5",
    "karma-chrome-launcher": "^0.2.0",
    "karma-cli": "0.0.4",
    "karma-coverage": "^0.4.2",
    "karma-firefox-launcher": "^0.1.3",
    "karma-jquery": "^0.1.0",
    "karma-mocha": "^0.1.4",
    "karma-safari-launcher": "^0.1.1",
    "karma-sinon": "^1.0.3",
    "karma-sinon-chai": "^0.2.0",
    "karma-webpack": "^1.7.0",
    "mkdirp": "^0.5.0",
    "node-libs-browser": "^0.5.2",
    "node-sass": "^3.2.0",
    "s3": "^4.1.1",
    "sass-loader": "^0.4.2",
    "scp": "0.0.3",
    "sinon": "^1.10.2",
    "sync-pkg": "0.3.0",
    "url-loader": "^0.5.6",
    "vinyl-source-stream": "^1.0.0",
    "vinyl-transform": "0.0.1",
    "watchify": "^2.0.0",
    "webpack": "^1.10.1",
    "webpack-dev-server": "^1.10.1",
    "yargs": "1.3.3"
  },
  "dependencies": {
    "clappr-zepto": "0.0.4",
    "lodash.assign": "3.0.0",
    "lodash.find": "3.0.0",
    "lodash.once": "3.0.0",
    "lodash.result": "3.0.0",
    "lodash.uniq": "3.0.0"
  }
}

シェアする

  • このエントリーをはてなブックマークに追加

フォローする