@wise/dynamic-flow-client 0.4.3 → 0.5.0-beta-ce3986.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.
@@ -7,5 +7,5 @@ export { isValidSchema } from './common/validators';
7
7
  export { fixtures } from './fixtures';
8
8
  export { default as translations } from './i18n';
9
9
  export * from './dynamicFlow/DynamicFlow';
10
- export type { DynamicFlowProps, InitialAction } from './dynamicFlow/DynamicFlowTypes';
10
+ export type { DynamicFlowProps } from './dynamicFlow/DynamicFlowTypes';
11
11
  export type { Step } from './types';
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-client",
3
- "version": "0.4.3",
3
+ "version": "0.5.0-beta-ce3986.10",
4
4
  "description": "Dynamic Flow web client",
5
5
  "main": "./build/main.min.js",
6
6
  "types": "./build/types/index.d.ts",
7
7
  "style": "./build/main.css",
8
+ "type": "commonjs",
8
9
  "sideEffects": [
9
10
  "*.css"
10
11
  ],
@@ -16,6 +17,24 @@
16
17
  "fullname": "transferwise/dynamic-flow",
17
18
  "url": "git+https://github.com/transferwise/dynamic-flow.git"
18
19
  },
20
+ "scripts": {
21
+ "dev": "storybook dev -p 3003",
22
+ "build": "rm -rf build && npm-run-all build:*",
23
+ "build:types": "tsc --project ./tsconfig.types.json",
24
+ "build:js": "node ./scripts/build.mjs",
25
+ "build:css": "postcss src/main.css -o build/main.css",
26
+ "build:messages-source": "formatjs extract 'src/**/*.messages.{js,ts}' --out-file src/i18n/en.json --format simple && prettier --find-config-path --write src/i18n/*.json",
27
+ "build:compiled-messages": "mkdir -p build/i18n && cp src/i18n/*.json build/i18n",
28
+ "test": "npm-run-all test:once test:tz",
29
+ "test:once": "jest --config jest.config.js --env=jsdom",
30
+ "test:coverage": "jest --config jest.config.js --env=jsdom --coverage",
31
+ "test:tz": "TZ=US/Pacific jest ./src/jsonSchemaForm/basicTypeSchema/BasicTypeSchema.errors.spec.js ./src/formControl/FormControl.spec.js",
32
+ "test:watch": "pnpm test:once --watch",
33
+ "lint": "npm-run-all lint:ts lint:css",
34
+ "lint:ts": "eslint 'src/**/*.{js,jsx,ts,tsx}' --quiet",
35
+ "lint:css": "stylelint './src/**/*.css'",
36
+ "build-storybook": "storybook build -c .storybook"
37
+ },
19
38
  "devDependencies": {
20
39
  "@babel/core": "7.20.12",
21
40
  "@babel/plugin-syntax-flow": "7.18.6",
@@ -92,23 +111,5 @@
92
111
  "react-webcam": "^7.0.1",
93
112
  "screenfull": "^5.0.2"
94
113
  },
95
- "prettier": "@transferwise/eslint-config/.prettierrc.js",
96
- "scripts": {
97
- "dev": "storybook dev -p 3003",
98
- "build": "rm -rf build && npm-run-all build:*",
99
- "build:types": "tsc --project ./tsconfig.types.json",
100
- "build:js": "node ./scripts/build.mjs",
101
- "build:css": "postcss src/main.css -o build/main.css",
102
- "build:messages-source": "formatjs extract 'src/**/*.messages.{js,ts}' --out-file src/i18n/en.json --format simple && prettier --find-config-path --write src/i18n/*.json",
103
- "build:compiled-messages": "mkdir -p build/i18n && cp src/i18n/*.json build/i18n",
104
- "test": "npm-run-all test:once test:tz",
105
- "test:once": "jest --config jest.config.js --env=jsdom",
106
- "test:coverage": "jest --config jest.config.js --env=jsdom --coverage",
107
- "test:tz": "TZ=US/Pacific jest ./src/jsonSchemaForm/basicTypeSchema/BasicTypeSchema.errors.spec.js ./src/formControl/FormControl.spec.js",
108
- "test:watch": "pnpm test:once --watch",
109
- "lint": "npm-run-all lint:ts lint:css",
110
- "lint:ts": "eslint 'src/**/*.{js,jsx,ts,tsx}' --quiet",
111
- "lint:css": "stylelint './src/**/*.css'",
112
- "build-storybook": "storybook build -c .storybook"
113
- }
114
- }
114
+ "prettier": "@transferwise/eslint-config/.prettierrc.js"
115
+ }