|
2 | 2 | "name": "@openmrs/esm-form-engine-lib", |
3 | 3 | "version": "4.0.0", |
4 | 4 | "description": "React Form Engine for O3", |
5 | | - "browser": "dist/openmrs-esm-form-engine-lib.js", |
6 | | - "main": "src/index.ts", |
| 5 | + "main": "dist/index.js", |
| 6 | + "module": "dist/index.js", |
| 7 | + "types": "dist/index.d.ts", |
7 | 8 | "license": "MIT", |
8 | 9 | "homepage": "https://github.com/openmrs/openmrs-esm-form-engine-lib#readme", |
9 | 10 | "scripts": { |
10 | 11 | "lint": "eslint src --ext .ts,.tsx --fix", |
11 | 12 | "verify": "turbo run lint typescript test --concurrency=5", |
12 | | - "test": "jest --config ./jest.config.js --passWithNoTests --color", |
13 | | - "test:watch": "jest --config ./jest.config.js --watch --color", |
| 13 | + "test": "TZ=UTC jest --config ./jest.config.js --passWithNoTests --color", |
| 14 | + "test:watch": "TZ=UTC jest --config ./jest.config.js --watch --color", |
14 | 15 | "typescript": "tsc", |
15 | | - "build": "webpack --mode production", |
| 16 | + "build": "rimraf dist && concurrently \"swc --copy-files --ignore '**/*.test.*' --ignore '**/setup-tests.*' --ignore '**/test-utils.*' src -d dist\" \"tsc --project tsconfig.build.json\"", |
16 | 17 | "coverage": "yarn test --coverage", |
17 | | - "analyze": "webpack --mode=production --env.analyze=true", |
18 | 18 | "prepare": "husky install", |
19 | 19 | "extract-translations": "i18next 'src/**/*.component.tsx' 'src/**/*.ts' --config './tools/i18next-parser.config.js'" |
20 | 20 | }, |
|
60 | 60 | "@types/lodash": "^4.17.4", |
61 | 61 | "@types/lodash-es": "^4.17.12", |
62 | 62 | "@types/react": "^18.3.2", |
63 | | - "@types/webpack-env": "^1.18.5", |
64 | 63 | "@typescript-eslint/eslint-plugin": "^7.9.0", |
65 | 64 | "@typescript-eslint/parser": "^7.9.0", |
66 | | - "clean-webpack-plugin": "^3.0.0", |
67 | 65 | "concurrently": "^6.5.1", |
68 | | - "css-loader": "^6.11.0", |
69 | 66 | "dayjs": "^1.11.11", |
70 | 67 | "eslint": "^8.57.0", |
71 | 68 | "eslint-plugin-import": "^2.31.0", |
72 | 69 | "eslint-plugin-jsx-a11y": "^6.8.0", |
73 | 70 | "eslint-plugin-react-hooks": "^4.6.2", |
74 | | - "fork-ts-checker-webpack-plugin": "^6.5.3", |
75 | 71 | "husky": "^8.0.3", |
76 | 72 | "i18next": "^25.0.0", |
77 | 73 | "i18next-parser": "^9.3.0", |
|
87 | 83 | "react-dom": "^18.3.1", |
88 | 84 | "react-i18next": "^16.0.0", |
89 | 85 | "resize-observer-polyfill": "^1.5.1", |
| 86 | + "rimraf": "^5.0.0", |
90 | 87 | "sass": "^1.77.2", |
91 | | - "swc-loader": "^0.2.6", |
92 | 88 | "swr": "^2.2.5", |
93 | 89 | "turbo": "^2.5.2", |
94 | | - "typescript": "^5.0.0", |
95 | | - "webpack": "^5.99.9", |
96 | | - "webpack-bundle-analyzer": "^4.10.2", |
97 | | - "webpack-cli": "^6.0.1", |
98 | | - "webpack-dev-server": "^5.2.1" |
| 90 | + "typescript": "^5.0.0" |
99 | 91 | }, |
100 | 92 | "lint-staged": { |
101 | 93 | "*.{ts,tsx}": "eslint --cache --fix --max-warnings 0", |
|
0 commit comments