feat: tie in challenge parser
This commit is contained in:
@ -2,7 +2,8 @@
|
|||||||
"packages": [
|
"packages": [
|
||||||
"api-server",
|
"api-server",
|
||||||
"client",
|
"client",
|
||||||
"curriculum"
|
"curriculum",
|
||||||
|
"tools/challenge-md-parser"
|
||||||
],
|
],
|
||||||
"version": "independent"
|
"version": "independent"
|
||||||
}
|
}
|
||||||
|
@ -4,14 +4,14 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"bootstrap": "lerna bootstrap",
|
"bootstrap": "lerna bootstrap",
|
||||||
"develop": "npm-run-all -s ensure-env start-develop",
|
"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.'",
|
"lint": "echo 'Warning: TODO - Define Linting.'",
|
||||||
"pretest": "npm-run-all -s lint bootstrap",
|
"pretest": "npm-run-all -s lint bootstrap",
|
||||||
"test": "npm-run-all -p test:*",
|
"test": "npm-run-all -p test:*",
|
||||||
"test:client": "echo 'Warning: TODO - Define Testing.'",
|
"test:client": "echo 'Warning: TODO - Define Testing.'",
|
||||||
"test:curriculum": "echo 'Warning: TODO - Define Testing.'",
|
"test:curriculum": "echo 'Warning: TODO - Define Testing.'",
|
||||||
"test:server": "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": {
|
"devDependencies": {
|
||||||
"eslint-config-freecodecamp": "^1.1.1",
|
"eslint-config-freecodecamp": "^1.1.1",
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,10 +1,10 @@
|
|||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
||||||
const env = require('../config/env');
|
const env = require('../../config/env');
|
||||||
|
|
||||||
const apiPath = path.resolve(__dirname, '../api-server');
|
const apiPath = path.resolve(__dirname, '../../api-server');
|
||||||
const clientPath = path.resolve(__dirname, '../client');
|
const clientPath = path.resolve(__dirname, '../../client');
|
||||||
|
|
||||||
fs.access(`${apiPath}/server/rev-manifest.json`, function(err) {
|
fs.access(`${apiPath}/server/rev-manifest.json`, function(err) {
|
||||||
if (err) {
|
if (err) {
|
Reference in New Issue
Block a user