@openedx/frontend-base 1.0.0-alpha.17 → 1.0.0-alpha.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -78,7 +78,7 @@ This watches for changes in `frontend-base` and rebuilds the packaged tarball on
78
78
  ```sh
79
79
  nvm use
80
80
  npm ci
81
- npm run pack:watch
81
+ npm run watch:pack
82
82
  ```
83
83
 
84
84
  #### In the consuming application
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openedx/frontend-base",
3
- "version": "1.0.0-alpha.17",
3
+ "version": "1.0.0-alpha.19",
4
4
  "description": "Build tools, setup and config for frontend apps",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -25,13 +25,15 @@
25
25
  "clean": "make clean",
26
26
  "dev": "npm run build && node ./dist/tools/cli/openedx.js dev:shell",
27
27
  "docs": "jsdoc -c jsdoc.json",
28
- "docs:watch": "nodemon -w runtime -w docs/template -w README.md -e js,jsx,ts,tsx --exec npm run docs",
29
28
  "lint": "eslint .; npm run lint:tools; npm --prefix ./test-site run lint",
30
29
  "lint:tools": "cd ./tools && eslint . && cd ..",
31
30
  "pack": "mkdir -p pack && npm pack --silent --pack-destination pack >/dev/null && mv \"$(ls -t pack/*.tgz | head -n 1)\" pack/openedx-frontend-base.tgz",
32
- "pack:watch": "nodemon --config nodemon.pack.json",
33
31
  "prepack": "npm run build",
34
- "test": "jest"
32
+ "test": "jest",
33
+ "watch:build": "nodemon --exec 'npm run build'",
34
+ "watch:docs": "nodemon --watch docs/template --watch README.md --exec npm run docs",
35
+ "watch:pack": "nodemon --exec 'npm run pack'",
36
+ "i18n_extract": "npm run build && node ./dist/tools/cli/openedx.js formatjs extract --include=shell"
35
37
  },
36
38
  "repository": {
37
39
  "type": "git",