Rename to build-scripts to it appears in GitHub file finder (#166)

It seems like the `build/` directory is ignored in the GitHub file
finder as a sane default for people who put compiled assets there.

`build-scripts/` probably makes more sense anyway
This commit is contained in:
Eric Eastwood 2023-04-07 13:17:46 -05:00 committed by GitHub
parent 5aafa01f38
commit e99a0d6912
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ RUN npm install
# Copy what we need for the client-side build
COPY config /app/config/
COPY build /app/build/
COPY build-scripts /app/build-scripts/
COPY public /app/public/
COPY shared /app/shared/
# Build the client-side bundle

View File

@ -8,7 +8,7 @@
},
"scripts": {
"lint": "eslint **/*.js",
"build": "node ./build/do-client-build.js",
"build": "node ./build-scripts/do-client-build.js",
"start": "node server/server.js",
"start-dev": "node server/start-dev.js",
"test": "npm run mocha -- test/**/*-tests.js --timeout 15000",

View File

@ -5,7 +5,7 @@ console.log('start-dev process.env.NODE_ENV', process.env.NODE_ENV);
const path = require('path');
const nodemon = require('nodemon');
const buildClient = require('../build/build-client');
const buildClient = require('../build-scripts/build-client');
// Build the client-side JavaScript bundle when we see any changes
buildClient({