mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-31 15:03:21 -05:00
This moves the location of javascript files, commonFramework, iFrameScript, sandbox, plugin, and all the less files. On gulp or gulp build these files are moved and revisioned. Places where they are references in jade/html are now removed and replaced with the use of a helper function `rev`. This function will take the required file and return a string referencing the revisioned file. This should alleviate the need for hard refreshing and will break caches when files change, so fixes for firefox caching issue as well. NOTE: @benmcmahon @quincylarson, This means files will need to be build on the server in production before doing a server restart/reload In production: 'npm run build' To build and revision js/css files `gulp` and `gulp build` will used in development npm install also needs to be run in production on initial deploy
139 lines
4.0 KiB
JSON
139 lines
4.0 KiB
JSON
{
|
|
"name": "freecodecamp",
|
|
"version": "0.1.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/freecodecamp/freecodecamp.git"
|
|
},
|
|
"scripts": {
|
|
"build": "gulp build",
|
|
"build-production": "webpack",
|
|
"start": "babel-node server/server.js",
|
|
"prestart-production": "bower cache clean && bower install && gulp build && npm run build-production",
|
|
"start-production": "node pm2Start",
|
|
"lint": "eslint --ext=.js,.jsx .",
|
|
"test": "mocha --compilers js:babel/register"
|
|
},
|
|
"license": "(BSD-3-Clause AND CC-BY-SA-4.0)",
|
|
"contributors": [
|
|
{
|
|
"name": "Quincy Larson",
|
|
"url": "https://github.com/QuincyLarson"
|
|
},
|
|
{
|
|
"name": "Nathan Leniz",
|
|
"url": "https://github.com/terakilobyte"
|
|
}
|
|
],
|
|
"dependencies": {
|
|
"accepts": "~1.2.5",
|
|
"async": "~0.9.0",
|
|
"babel": "5.6.14",
|
|
"babel-core": "5.6.15",
|
|
"babel-eslint": "^4.0.5",
|
|
"babel-loader": "5.2.2",
|
|
"bcrypt-nodejs": "~0.0.3",
|
|
"body-parser": "^1.13.2",
|
|
"chai-jquery": "~2.0.0",
|
|
"cheerio": "~0.18.0",
|
|
"classnames": "^2.1.2",
|
|
"clockwork": "~0.1.1",
|
|
"compression": "~1.2.1",
|
|
"connect-mongo": "~0.7.0",
|
|
"cookie-parser": "~1.3.3",
|
|
"csso": "~1.3.11",
|
|
"dateformat": "~1.0.11",
|
|
"debug": "~2.1.0",
|
|
"dotenv": "~0.4.0",
|
|
"errorhandler": "~1.3.0",
|
|
"eslint": "^1.1.0",
|
|
"eslint-plugin-react": "^3.2.1",
|
|
"express": "~4.10.4",
|
|
"express-flash": "~0.0.2",
|
|
"express-session": "~1.9.2",
|
|
"express-state": "^1.2.0",
|
|
"express-validator": "~2.8.0",
|
|
"fetchr": "^0.5.12",
|
|
"font-awesome": "~4.3.0",
|
|
"forever": "~0.14.1",
|
|
"frameguard": "^0.2.2",
|
|
"github-api": "~0.7.0",
|
|
"gulp-less": "^3.0.3",
|
|
"gulp-minify-css": "~0.5.1",
|
|
"gulp-rev": "^6.0.1",
|
|
"gulp-rev-replace": "^0.4.2",
|
|
"gulp-webpack": "^1.5.0",
|
|
"helmet": "~0.9.0",
|
|
"helmet-csp": "^0.2.3",
|
|
"jade": "~1.8.0",
|
|
"json-loader": "^0.5.2",
|
|
"less": "~1.7.5",
|
|
"less-middleware": "~2.0.1",
|
|
"lodash": "^3.9.3",
|
|
"loopback": "https://github.com/FreeCodeCamp/loopback.git#fix/no-password",
|
|
"loopback-boot": "^2.8.0",
|
|
"loopback-component-passport": "https://github.com/FreeCodeCamp/loopback-component-passport.git#feature/flashfailure",
|
|
"loopback-connector-mongodb": "^1.10.0",
|
|
"lusca": "~1.0.2",
|
|
"method-override": "~2.3.0",
|
|
"moment": "~2.10.2",
|
|
"mongodb": "^2.0.33",
|
|
"morgan": "~1.5.0",
|
|
"node-libs-browser": "^0.5.2",
|
|
"node-slack": "0.0.7",
|
|
"node-uuid": "^1.4.3",
|
|
"nodemailer": "~1.3.0",
|
|
"object.assign": "^3.0.0",
|
|
"passport-facebook": "^2.0.0",
|
|
"passport-github": "^0.1.5",
|
|
"passport-google-oauth2": "^0.1.6",
|
|
"passport-linkedin-oauth2": "^1.2.1",
|
|
"passport-local": "^1.0.0",
|
|
"passport-oauth": "^1.0.0",
|
|
"passport-twitter": "^1.0.3",
|
|
"pmx": "^0.3.16",
|
|
"ramda": "~0.10.0",
|
|
"react": "^0.13.3",
|
|
"react-bootstrap": "^0.23.7",
|
|
"react-motion": "~0.1.0",
|
|
"react-router": "https://github.com/BerkeleyTrue/react-router#freecodecamp",
|
|
"react-vimeo": "^0.0.3",
|
|
"request": "~2.53.0",
|
|
"rx": "^2.5.3",
|
|
"sanitize-html": "~1.6.1",
|
|
"source-map-support": "^0.3.2",
|
|
"thundercats": "^2.1.0",
|
|
"thundercats-react": "^0.1.0",
|
|
"twit": "~1.1.20",
|
|
"uglify-js": "~2.4.15",
|
|
"validator": "~3.22.1",
|
|
"webpack": "^1.9.12",
|
|
"yui": "~3.18.1"
|
|
},
|
|
"devDependencies": {
|
|
"babel-eslint": "^3.1.7",
|
|
"blessed": "~0.0.37",
|
|
"bower-main-files": "~0.0.4",
|
|
"browser-sync": "~1.8.1",
|
|
"browserify": "^10.2.4",
|
|
"chai": "~1.10.0",
|
|
"envify": "^3.4.0",
|
|
"eslint": "^0.21.2",
|
|
"eslint-plugin-react": "^2.3.0",
|
|
"gulp": "~3.8.8",
|
|
"gulp-eslint": "~0.9.0",
|
|
"gulp-inject": "~1.0.2",
|
|
"gulp-jsonlint": "^1.1.0",
|
|
"gulp-nodemon": "^2.0.3",
|
|
"gulp-notify": "^2.2.0",
|
|
"gulp-plumber": "^1.0.1",
|
|
"istanbul": "^0.3.15",
|
|
"loopback-explorer": "^1.7.2",
|
|
"loopback-testing": "^1.1.0",
|
|
"mocha": "~2.0.1",
|
|
"multiline": "~1.0.1",
|
|
"supertest": "~0.15.0",
|
|
"vinyl-source-stream": "^1.1.0"
|
|
}
|
|
}
|