Migrate all the things

* Migrates from Mongo to Postgres.
* Migrates from JSPM to Webpack.
* Migrates from React to Vuejs.
* Migrates from Bootstrap to Bulma.

Also:
* Fixes rendering of meta data in the document head tag.
This commit is contained in:
Jonathan Cremin 2016-10-03 13:31:29 +01:00
parent 09706778d9
commit 7bb0497ff4
76 changed files with 6741 additions and 1760 deletions

View file

@ -4,24 +4,25 @@
"repository": "https://github.com/kudos/match.audio",
"license": "MIT",
"scripts": {
"build": "babel -d public/views views",
"cover": "istanbul cover _mocha -- --require babel-core/register --require co-mocha test/**/*.js",
"start": "node -r babel-core/register app.js",
"test": "mocha --require co-mocha --compilers js:babel-core/register test/**/*.js --timeout=15000",
"build": "webpack -p --config webpack.config.js && webpack -p --config webpack.config.server.js",
"start": "node -r babel-register app.js",
"test": "mocha -r co-mocha --compilers js:babel-register test/**/*.js --timeout=15000",
"watch": "parallelshell \"npm run watch-js\" \"npm run watch-server\"",
"watch-js": "babel -wd public/views views",
"watch-server": "nodemon -x \"node -r babel-core/register\" -e js,jsx -i public/ -i chrome/ app.js",
"heroku-postbuild": "jspm install && npm run build"
"watch-js": "parallelshell \"webpack -w -d --config webpack.config.js\" \"webpack -w -d --config webpack.config.server.js\"",
"watch-server": "nodemon -x \"node -r babel-register\" -e js,vue -i node_modules -i chrome/ app.js",
"heroku-postbuild": "npm run build"
},
"engines": {
"node": "^5.0.0",
"npm": "^3.3.0"
"node": "^6.7.0",
"npm": "^3.10.0"
},
"dependencies": {
"babel": "^6.1.18",
"babel-cli": "^6.3.13",
"babel-core": "^6.3.13",
"babel-loader": "^6.0.0",
"babel-plugin-syntax-jsx": "^6.3.13",
"babel-plugin-syntax-object-rest-spread": "^6.13.0",
"babel-plugin-transform-es2015-arrow-functions": "^6.3.13",
"babel-plugin-transform-es2015-block-scoped-functions": "^6.1.18",
"babel-plugin-transform-es2015-block-scoping": "^6.1.18",
@ -41,64 +42,60 @@
"babel-plugin-transform-es2015-template-literals": "^6.1.18",
"babel-plugin-transform-es2015-typeof-symbol": "^6.1.18",
"babel-plugin-transform-es2015-unicode-regex": "^6.1.18",
"babel-plugin-transform-react-jsx": "^6.2.0",
"bluebird": "~2.10.2",
"babel-plugin-transform-object-assign": "^6.8.0",
"babel-plugin-transform-object-rest-spread": "^6.16.0",
"babel-plugin-transform-remove-strict-mode": "0.0.2",
"babel-preset-es2015": "^6.0.0",
"babel-preset-latest-minimal": "^1.1.2",
"babel-register": "^6.16.3",
"bluebird": "^3.4.1",
"bulma": "^0.2.3",
"co": "~4.6.0",
"copy-webpack-plugin": "^3.0.1",
"css-loader": "^0.25.0",
"debug": "~2.2.0",
"history": "^1.12.3",
"jspm": "~0.16.20",
"ejs": "^2.5.2",
"file-loader": "^0.9.0",
"json-loader": "^0.5.4",
"kcors": "^1.0.1",
"koa": "~1.1.2",
"koa-bodyparser": "~2.0.1",
"koa": "^1.2.1",
"koa-bodyparser": "^2.2.0",
"koa-compress": "~1.0.8",
"koa-favicon": "~1.2.0",
"koa-file-server": "~2.3.1",
"koa-logger": "~1.3.0",
"koa-route": "~2.4.2",
"moment": "~2.11.1",
"mongodb-promisified": "~1.0.2",
"koa-static": "^2.0.0",
"koa-views": "^4.0.1",
"koa-websocket": "^2.1.0",
"moment": "^2.14.1",
"node-uuid": "~1.4.2",
"playmusic": "~2.1.0",
"react": "~0.14.5",
"react-dom": "~0.14.5",
"react-google-analytics": "~0.2.0",
"react-helmet": "^3.0.1",
"react-router": "~1.0.0",
"pg": "^6.1.0",
"playmusic": "~2.2.0",
"sequelize": "^3.24.3",
"spotify": "~0.3.0",
"superagent": "~1.6.1",
"superagent-bluebird-promise": "~2.1.1"
"style-loader": "^0.13.1",
"superagent": "^2.1.0",
"superagent-bluebird-promise": "^3.0.2",
"vue": "^2.0.3",
"vue-loader": "^9.7.0",
"vue-router": "^2.0.1",
"vue-server-renderer": "^2.0.3",
"vuex": "^2.0.0",
"vuex-router-sync": "^3.0.0",
"webpack": "2.1.0-beta.25"
},
"devDependencies": {
"babel-plugin-transform-runtime": "^6.15.0",
"babel-runtime": "^6.11.6",
"co-mocha": "~1.1.0",
"eslint": "~1.10.1",
"eslint-plugin-react": "~3.14.0",
"eslint": "^3.8.0",
"eslint-config-airbnb": "^12.0.0",
"eslint-plugin-import": "^2.0.1",
"istanbul": "^0.4.0",
"mocha": "~2.3.0",
"nodemon": "~1.8.0",
"mocha": "^3.0.2",
"nodemon": "^1.10.2",
"parallelshell": "~2.0.0",
"should": "~8.0.2"
},
"jspm": {
"directories": {
"baseURL": "public"
},
"dependencies": {
"history": "npm:history@^1.12.3",
"react": "npm:react@~0.14.5",
"react-dom": "npm:react-dom@~0.14.5",
"react-google-analytics": "npm:react-google-analytics@~0.2.0",
"react-helmet": "npm:react-helmet@^3.0.1",
"react-router": "npm:react-router@~1.0.0",
"superagent": "npm:superagent@~1.2.0"
},
"devDependencies": {
"babel": "npm:babel-core@^5.8.24",
"babel-runtime": "npm:babel-runtime@^5.8.24",
"core-js": "npm:core-js@^1.1.4"
},
"buildConfig": {
"minify": true,
"transpileES6": true
}
"should": "^11.1.0"
}
}