feat: tie in challenge parser
This commit is contained in:
@ -2,7 +2,8 @@
|
||||
"packages": [
|
||||
"api-server",
|
||||
"client",
|
||||
"curriculum"
|
||||
"curriculum",
|
||||
"tools/challenge-md-parser"
|
||||
],
|
||||
"version": "independent"
|
||||
}
|
||||
|
@ -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",
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -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) {
|
Reference in New Issue
Block a user