@inseefr/lunatic 0.3.13-v2 → 0.3.14-v2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inseefr/lunatic",
3
- "version": "0.3.13-v2",
3
+ "version": "0.3.14-v2",
4
4
  "workersVersion": "0.2.4-experimental",
5
5
  "description": "Library of questionnaire components",
6
6
  "repository": {
@@ -32,8 +32,8 @@
32
32
  "test": "cross-env NODE_PATH=src/ jest",
33
33
  "test-watch": "cross-env NODE_PATH=src/ jest --watchAll",
34
34
  "test-coverage": "cross-env NODE_PATH=src/ jest --coverage",
35
- "prepublish": "npm test",
36
- "analyze": "yarn build && source-map-explorer lib/index.js --html bundle-report/lunatic.html",
35
+ "build": "babel src --out-dir lib --copy-files",
36
+ "prepublish": "npm test && npm run build",
37
37
  "build-append-worker": "webpack --config ./webpack-append-worker.config.js",
38
38
  "build-searching-worker": "webpack --config ./webpack-searching-worker.config.js",
39
39
  "build-label-worker": "webpack --config ./webpack-label-worker.config.js",
@@ -50,7 +50,8 @@
50
50
  "dependencies": {
51
51
  "@inseefr/trevas": "^0.1.10",
52
52
  "@inseefr/vtl-2.0-antlr-tools": "^0.1.0",
53
- "antlr4": "^4.9.3",
53
+ "antlr4": "^4.10.1",
54
+ "classnames": "^2.3.1",
54
55
  "date-fns": "^2.25.0",
55
56
  "lodash.camelcase": "^4.3.0",
56
57
  "lodash.debounce": "^4.0.8",
@@ -66,7 +67,8 @@
66
67
  "string-tokenizer": "^0.0.8"
67
68
  },
68
69
  "devDependencies": {
69
- "@babel/core": "^7.9.0",
70
+ "@babel/cli": "^7.18.6",
71
+ "@babel/core": "^7.18.6",
70
72
  "@babel/plugin-proposal-class-properties": "^7.7.4",
71
73
  "@babel/plugin-proposal-private-methods": "^7.18.6",
72
74
  "@babel/plugin-proposal-private-property-in-object": "^7.18.6",
@@ -90,7 +92,6 @@
90
92
  "@testing-library/react-hooks": "^7.0.0",
91
93
  "babel-eslint": "^10.0.3",
92
94
  "babel-loader": "^8.0.6",
93
- "classnames": "^2.3.1",
94
95
  "core-js": "^3.17.3",
95
96
  "cross-env": "^7.0.2",
96
97
  "css-loader": "^5.0.0",
@@ -1,5 +1,5 @@
1
1
  // Import index once for bundle
2
- @import 'src/components/index.scss';
2
+ @import '../../../index.scss';
3
3
 
4
4
  .lunatic-component-container-test {
5
5
  display: flex;