@defra/forms-model 3.0.9 → 3.0.10

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.
@@ -1 +1,2 @@
1
- "use strict";
1
+ "use strict";
2
+ //# sourceMappingURL=types.js.map
@@ -1 +1,2 @@
1
- "use strict";
1
+ "use strict";
2
+ //# sourceMappingURL=types.js.map
@@ -1 +1,2 @@
1
- "use strict";
1
+ "use strict";
2
+ //# sourceMappingURL=types.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defra/forms-model",
3
- "version": "3.0.9",
3
+ "version": "3.0.10",
4
4
  "description": "A hapi plugin providing the model for Defra forms",
5
5
  "homepage": "https://github.com/DEFRA/forms-designer/tree/main/model#readme",
6
6
  "repository": {
@@ -14,8 +14,8 @@
14
14
  "types": "dist/types/index.d.ts",
15
15
  "scripts": {
16
16
  "build": "npm run build:types && npm run build:node && npm run build:browser",
17
- "build:browser": "BABEL_ENV=javascripts babel --extensions \".ts\" --ignore \"**/*.test.*\" src --out-dir dist/browser",
18
- "build:node": "BABEL_ENV=node babel --extensions \".ts\" --ignore \"**/*.test.*\" src --out-dir dist/module",
17
+ "build:browser": "BABEL_ENV=javascripts babel --delete-dir-on-start --extensions \".ts\" --ignore \"**/*.test.*\" --copy-files --no-copy-ignored --source-maps --out-dir ./dist/browser ./src",
18
+ "build:node": "BABEL_ENV=node babel --delete-dir-on-start --extensions \".ts\" --ignore \"**/*.test.*\" --copy-files --no-copy-ignored --source-maps --out-dir ./dist/module ./src",
19
19
  "build:types": "tsc --build --force tsconfig.build.json && tsc-alias --project tsconfig.build.json",
20
20
  "test": "jest --color --coverage --verbose",
21
21
  "test:watch": "jest --color --watch"