diff --git a/Makefile b/Makefile index 66f947b0..0a959ffe 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/package-lock.json b/package-lock.json index b7c2e00d..0299485d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "@edx/frontend-plugin-framework", + "name": "@openedx/frontend-plugin-framework", "version": "1.0.0-semantically-released", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@edx/frontend-plugin-framework", + "name": "@openedx/frontend-plugin-framework", "version": "1.0.0-semantically-released", "license": "AGPL-3.0", "dependencies": { diff --git a/package.json b/package.json index 641131b3..f7149bd1 100644 --- a/package.json +++ b/package.json @@ -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" @@ -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 .",