Skip to content

Commit

Permalink
chore: update package build script
Browse files Browse the repository at this point in the history
  • Loading branch information
leangseu-edx committed Mar 21, 2024
1 parent 7bc76cd commit 971de18
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ build:
./node_modules/.bin/fedx-scripts babel src --out-dir dist --source-maps --ignore **/*.test.jsx,**/*.test.js,**/setupTest.js --copy-files
@# --copy-files will bring in everything else that wasn't processed by babel. Remove what we don't want.
@find dist -name '*.test.js*' -delete
rm ./dist/setupTest.js
cp ./package.json ./dist/package.json
cp ./LICENSE ./dist/LICENSE
cp ./README.md ./dist/README.md
cp ./README.rst ./dist/README.rst

precommit:
npm run lint
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "@openedx/frontend-plugin-framework",
"version": "1.0.0-semantically-released",
"description": "Frontend Plugin Framework ",
"description": "Frontend Plugin Framework",
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/openedx/frontend-plugin-framework.git"
Expand All @@ -10,7 +11,7 @@
"extends @edx/browserslist-config"
],
"scripts": {
"build": "fedx-scripts webpack",
"build": "make build",
"i18n_extract": "fedx-scripts formatjs extract",
"lint": "fedx-scripts eslint --ext .js --ext .jsx .",
"lint:fix": "fedx-scripts eslint --fix --ext .js --ext .jsx .",
Expand Down

0 comments on commit 971de18

Please sign in to comment.