@inseefr/lunatic 0.3.12-v2 → 0.3.13-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.12-v2",
3
+ "version": "0.3.13-v2",
4
4
  "workersVersion": "0.2.4-experimental",
5
5
  "description": "Library of questionnaire components",
6
6
  "repository": {
@@ -23,18 +23,16 @@
23
23
  }
24
24
  ],
25
25
  "license": "MIT",
26
- "main": "lib/index.js",
26
+ "main": "src/index.js",
27
27
  "module": "src/index.js",
28
28
  "files": [
29
- "lib",
30
29
  "src"
31
30
  ],
32
31
  "scripts": {
33
32
  "test": "cross-env NODE_PATH=src/ jest",
34
33
  "test-watch": "cross-env NODE_PATH=src/ jest --watchAll",
35
34
  "test-coverage": "cross-env NODE_PATH=src/ jest --coverage",
36
- "build": "rollup -c rollup.config.js",
37
- "prepublish": "npm test && npm run build",
35
+ "prepublish": "npm test",
38
36
  "analyze": "yarn build && source-map-explorer lib/index.js --html bundle-report/lunatic.html",
39
37
  "build-append-worker": "webpack --config ./webpack-append-worker.config.js",
40
38
  "build-searching-worker": "webpack --config ./webpack-searching-worker.config.js",
@@ -52,7 +50,7 @@
52
50
  "dependencies": {
53
51
  "@inseefr/trevas": "^0.1.10",
54
52
  "@inseefr/vtl-2.0-antlr-tools": "^0.1.0",
55
- "antlr4": "^4.10.1",
53
+ "antlr4": "^4.9.3",
56
54
  "date-fns": "^2.25.0",
57
55
  "lodash.camelcase": "^4.3.0",
58
56
  "lodash.debounce": "^4.0.8",
@@ -90,7 +88,6 @@
90
88
  "@storybook/react": "^6.5.8",
91
89
  "@storybook/testing-library": "^0.0.11",
92
90
  "@testing-library/react-hooks": "^7.0.0",
93
- "@timdp/rollup-plugin-image": "^1.0.3",
94
91
  "babel-eslint": "^10.0.3",
95
92
  "babel-loader": "^8.0.6",
96
93
  "classnames": "^2.3.1",
@@ -119,18 +116,6 @@
119
116
  "react-dom": "^17.0.2",
120
117
  "regenerator-runtime": "^0.13.7",
121
118
  "remove-accents": "^0.4.2",
122
- "rollup": "^2.52.8",
123
- "rollup-plugin-babel": "^4.3.3",
124
- "rollup-plugin-babel-minify": "^10.0.0",
125
- "rollup-plugin-commonjs": "^10.1.0",
126
- "rollup-plugin-node-resolve": "^5.2.0",
127
- "rollup-plugin-postcss": "^4.0.0",
128
- "rollup-plugin-replace": "^2.2.0",
129
- "rollup-plugin-serve": "^1.0.1",
130
- "rollup-plugin-terser": "^7.0.1",
131
- "rollup-plugin-uglify": "^6.0.3",
132
- "rollup-plugin-url": "^3.0.1",
133
- "rollup-watch": "^4.3.1",
134
119
  "rxjs-marbles": "^6.0.1",
135
120
  "sass-loader": "^10.0.3",
136
121
  "source-map-explorer": "^2.4.2",
@@ -1,3 +1,2 @@
1
1
  export * from './components';
2
2
  export { default as Table } from './table';
3
- export { default as useLunatic } from '../use-lunatic';
package/src/index.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from './components';
2
+ export { default as useLunatic } from './use-lunatic';