@rb-games/core 0.1.0 → 0.1.1
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 +3 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rb-games/core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -12,79 +12,66 @@
|
|
|
12
12
|
"exports": {
|
|
13
13
|
"./engine": {
|
|
14
14
|
"types": "./dist/engine/index.d.ts",
|
|
15
|
-
"development": "./engine/index.ts",
|
|
16
15
|
"import": "./dist/engine/index.js",
|
|
17
16
|
"default": "./dist/engine/index.js"
|
|
18
17
|
},
|
|
19
18
|
"./plugins": {
|
|
20
19
|
"types": "./dist/plugins/index.d.ts",
|
|
21
|
-
"development": "./plugins/index.ts",
|
|
22
20
|
"import": "./dist/plugins/index.js",
|
|
23
21
|
"default": "./dist/plugins/index.js"
|
|
24
22
|
},
|
|
25
23
|
"./layout": {
|
|
26
24
|
"types": "./dist/layout/index.d.ts",
|
|
27
|
-
"development": "./layout/index.ts",
|
|
28
25
|
"import": "./dist/layout/index.js",
|
|
29
26
|
"default": "./dist/layout/index.js"
|
|
30
27
|
},
|
|
31
28
|
"./utils": {
|
|
32
29
|
"types": "./dist/utils/index.d.ts",
|
|
33
|
-
"development": "./utils/index.ts",
|
|
34
30
|
"import": "./dist/utils/index.js",
|
|
35
31
|
"default": "./dist/utils/index.js"
|
|
36
32
|
},
|
|
37
33
|
"./ui": {
|
|
38
34
|
"types": "./dist/ui/index.d.ts",
|
|
39
|
-
"development": "./ui/index.ts",
|
|
40
35
|
"import": "./dist/ui/index.js",
|
|
41
36
|
"default": "./dist/ui/index.js"
|
|
42
37
|
},
|
|
43
38
|
"./helpers": {
|
|
44
39
|
"types": "./dist/helpers/index.d.ts",
|
|
45
|
-
"development": "./helpers/index.ts",
|
|
46
40
|
"import": "./dist/helpers/index.js",
|
|
47
41
|
"default": "./dist/helpers/index.js"
|
|
48
42
|
},
|
|
49
43
|
"./particle": {
|
|
50
44
|
"types": "./dist/particle/index.d.ts",
|
|
51
|
-
"development": "./particle/index.ts",
|
|
52
45
|
"import": "./dist/particle/index.js",
|
|
53
46
|
"default": "./dist/particle/index.js"
|
|
54
47
|
},
|
|
55
48
|
"./state-machine": {
|
|
56
49
|
"types": "./dist/state-machine/index.d.ts",
|
|
57
|
-
"development": "./state-machine/index.ts",
|
|
58
50
|
"import": "./dist/state-machine/index.js",
|
|
59
51
|
"default": "./dist/state-machine/index.js"
|
|
60
52
|
},
|
|
61
53
|
"./store": {
|
|
62
54
|
"types": "./dist/store/index.d.ts",
|
|
63
|
-
"development": "./store/index.ts",
|
|
64
55
|
"import": "./dist/store/index.js",
|
|
65
56
|
"default": "./dist/store/index.js"
|
|
66
57
|
},
|
|
67
58
|
"./filters": {
|
|
68
59
|
"types": "./dist/filters/index.d.ts",
|
|
69
|
-
"development": "./filters/index.ts",
|
|
70
60
|
"import": "./dist/filters/index.js",
|
|
71
61
|
"default": "./dist/filters/index.js"
|
|
72
62
|
},
|
|
73
63
|
"./devtools": {
|
|
74
64
|
"types": "./dist/devtools/index.d.ts",
|
|
75
|
-
"development": "./devtools/index.ts",
|
|
76
65
|
"import": "./dist/devtools/index.js",
|
|
77
66
|
"default": "./dist/devtools/index.js"
|
|
78
67
|
},
|
|
79
68
|
"./i18n": {
|
|
80
69
|
"types": "./dist/i18n/index.d.ts",
|
|
81
|
-
"development": "./i18n/index.ts",
|
|
82
70
|
"import": "./dist/i18n/index.js",
|
|
83
71
|
"default": "./dist/i18n/index.js"
|
|
84
72
|
},
|
|
85
73
|
"./vite": {
|
|
86
74
|
"types": "./dist/vite/index.d.ts",
|
|
87
|
-
"development": "./vite/index.ts",
|
|
88
75
|
"import": "./dist/vite/index.js",
|
|
89
76
|
"default": "./dist/vite/index.js"
|
|
90
77
|
},
|
|
@@ -99,7 +86,8 @@
|
|
|
99
86
|
"scripts": {
|
|
100
87
|
"build": "tsup && tsc -p tsconfig.build.json --noCheck",
|
|
101
88
|
"prepare": "tsup && tsc -p tsconfig.build.json --noCheck",
|
|
102
|
-
"prepack": "tsup && tsc -p tsconfig.build.json --noCheck",
|
|
89
|
+
"prepack": "node ../../scripts/npm-strip-dev-exports.mjs && tsup && tsc -p tsconfig.build.json --noCheck",
|
|
90
|
+
"postpack": "node ../../scripts/npm-strip-dev-exports.mjs restore",
|
|
103
91
|
"lint": "eslint \"**/*.ts\"",
|
|
104
92
|
"test": "NODE_OPTIONS='--experimental-vm-modules' npx jest",
|
|
105
93
|
"test:watch": "NODE_OPTIONS='--experimental-vm-modules' npx jest --watch",
|