feat: tie in challenge parser

This commit is contained in:
Mrugesh Mohapatra
2018-09-27 20:21:53 +05:30
parent 03abb0facc
commit eff9ce74bd
19 changed files with 1100 additions and 1099 deletions

View File

@ -2,7 +2,8 @@
"packages": [
"api-server",
"client",
"curriculum"
"curriculum",
"tools/challenge-md-parser"
],
"version": "independent"
}

View File

@ -4,14 +4,14 @@
"scripts": {
"bootstrap": "lerna bootstrap",
"develop": "npm-run-all -s ensure-env start-develop",
"ensure-env": "node ./scripts/ensure-env.js",
"ensure-env": "node ./tools/scripts/ensure-env.js",
"lint": "echo 'Warning: TODO - Define Linting.'",
"pretest": "npm-run-all -s lint bootstrap",
"test": "npm-run-all -p test:*",
"test:client": "echo 'Warning: TODO - Define Testing.'",
"test:curriculum": "echo 'Warning: TODO - Define Testing.'",
"test:server": "echo 'Warning: TODO - Define Testing.'",
"start-develop": "node ./scripts/start-develop.js"
"start-develop": "node ./tools/scripts/start-develop.js"
},
"devDependencies": {
"eslint-config-freecodecamp": "^1.1.1",

View File

@ -1,10 +1,10 @@
const fs = require('fs');
const path = require('path');
const env = require('../config/env');
const env = require('../../config/env');
const apiPath = path.resolve(__dirname, '../api-server');
const clientPath = path.resolve(__dirname, '../client');
const apiPath = path.resolve(__dirname, '../../api-server');
const clientPath = path.resolve(__dirname, '../../client');
fs.access(`${apiPath}/server/rev-manifest.json`, function(err) {
if (err) {