@inseefr/lunatic 2.7.0-rc.4 → 2.7.0-rc.5
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 +11 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inseefr/lunatic",
|
|
3
|
-
"version": "2.7.0-rc.
|
|
3
|
+
"version": "2.7.0-rc.5",
|
|
4
4
|
"workersVersion": "0.3.0-experimental",
|
|
5
5
|
"description": "Library of questionnaire components",
|
|
6
6
|
"repository": {
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"scripts/build/workers-paths.js"
|
|
32
32
|
],
|
|
33
33
|
"scripts": {
|
|
34
|
-
"test": "vitest run",
|
|
35
|
-
"test:e2e": "playwright test",
|
|
36
|
-
"test:e2e:visual": "playwright test --headed --debug e2e/pairwise.spec.ts",
|
|
37
|
-
"test:e2e:codegen": "playwright codegen http://localhost:9999/iframe.html?viewMode=story&id=",
|
|
38
|
-
"test:storybook": "test-storybook --url http://localhost:9999 --maxWorkers=4 --no-cache",
|
|
34
|
+
"test": "npm run prepare-workers && vitest run",
|
|
35
|
+
"test:e2e": "npm run prepare-workers && playwright test",
|
|
36
|
+
"test:e2e:visual": "npm run prepare-workers && playwright test --headed --debug e2e/pairwise.spec.ts",
|
|
37
|
+
"test:e2e:codegen": "npm run prepare-workers && playwright codegen http://localhost:9999/iframe.html?viewMode=story&id=",
|
|
38
|
+
"test:storybook": "npm run prepare-workers && test-storybook --url http://localhost:9999 --maxWorkers=4 --no-cache",
|
|
39
39
|
"test-watch": "vitest",
|
|
40
40
|
"check": "tsc",
|
|
41
41
|
"lint": "eslint ./src",
|
|
@@ -45,14 +45,13 @@
|
|
|
45
45
|
"format:check": "npm run _format -- --list-different",
|
|
46
46
|
"test-coverage": "vitest run --coverage",
|
|
47
47
|
"build-workers": "node ./scripts/build/build-workers.js",
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"storybook": "
|
|
52
|
-
"build-storybook": "yarn postinstall && storybook build"
|
|
48
|
+
"prepare-workers": "npm run build-workers && node ./scripts/build/add-workers-to-public.js",
|
|
49
|
+
"build": "babel src --out-dir lib --extensions \".ts,.js,.tsx,.jsx\" --copy-files && tsc --project tsconfig.prod.json && npm run build-workers",
|
|
50
|
+
"storybook": "npm run prepare-workers && storybook dev -p 9999 --no-open",
|
|
51
|
+
"build-storybook": "npm run prepare-workers && storybook build"
|
|
53
52
|
},
|
|
54
53
|
"bin": {
|
|
55
|
-
"add-lunatic-
|
|
54
|
+
"add-lunatic-workes": "./scripts/build/add-workers-to-public.js"
|
|
56
55
|
},
|
|
57
56
|
"keywords": [
|
|
58
57
|
"react",
|