5htp-core 0.0.5 → 0.0.6

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,7 +1,7 @@
1
1
  {
2
2
  "name": "5htp-core",
3
3
  "description": "5-HTP, scientifically called 5-Hydroxytryptophan, is the precursor of happiness neurotransmitter.",
4
- "version": "0.0.5",
4
+ "version": "0.0.6",
5
5
  "author": "Gaetan Le Gac (https://github.com/gaetanlegac)",
6
6
  "repository": "git://github.com/gaetanlegac/5htp-core.git",
7
7
  "license": "MIT",
@@ -4,48 +4,25 @@
4
4
  "rootDir": "..",
5
5
  "baseUrl": "..",
6
6
  "paths": {
7
- "@client/*": [
8
- "../node_modules/5htp-core/src/client/*"
9
- ],
10
- "@common/*": [
11
- "../node_modules/5htp-core/src/common/*"
12
- ],
7
+
8
+ "@client/*": ["../node_modules/5htp-core/src/client/*"],
9
+ "@common/*": ["../node_modules/5htp-core/src/common/*"],
10
+
13
11
  // Only used for typings (ex: ServerResponse)
14
12
  // Removed before webpack compilation
15
- "@server/*": [
16
- "../node_modules/5htp-core/src/server/*"
17
- ],
18
- "@validator": [
19
- "../node_modules/5htp-core/src/client/data/input"
20
- ],
21
- "@router": [
22
- "../node_modules/5htp-core/src/client/router"
23
- ],
24
- "@errors": [
25
- "../node_modules/5htp-core/src/common/errors"
26
- ],
27
- "@models": [
28
- "../.cache/client/models"
29
- ],
30
- "@/*": [
31
- "./*"
32
- ],
13
+ "@server/*": ["../node_modules/5htp-core/src/server/*"],
14
+ "@validator": ["../node_modules/5htp-core/src/client/data/input"],
15
+ "@router": ["../node_modules/5htp-core/src/client/router"],
16
+ "@errors": ["../node_modules/5htp-core/src/common/errors"],
17
+ "@models": ["../.cache/client/models"],
18
+ "@/*": ["./*"],
19
+
33
20
  // ATTENTION: Les références à preact doivent toujours pointer vers la même instance
34
- "react": [
35
- "../node_modules/5htp-core/node_modules/preact/compat"
36
- ],
37
- "react-dom/test-utils": [
38
- "../node_modules/5htp-core/node_modules/preact/test-utils"
39
- ],
40
- "react-dom": [
41
- "../node_modules/5htp-core/node_modules/preact/compat"
42
- ], // Must be below test-utils
43
- "react/jsx-runtime": [
44
- "../node_modules/5htp-core/node_modules/preact/jsx-runtime"
45
- ],
46
- "preact/jsx-runtime": [
47
- "../node_modules/5htp-core/node_modules/preact/jsx-runtime"
48
- ]
21
+ "react": ["preact/compat"],
22
+ "react-dom/test-utils": ["preact/test-utils"],
23
+ "react-dom": ["preact/compat"], // Must be below test-utils
24
+ "react/jsx-runtime": ["preact/jsx-runtime"],
25
+ "preact/jsx-runtime": ["preact/jsx-runtime"]
49
26
  }
50
27
  },
51
28
  "include": [
@@ -20,10 +20,10 @@
20
20
  "@/*": ["./*"],
21
21
 
22
22
  // ATTENTION: Les références à preact doivent toujours pointer vers la même instance
23
- "react": ["../node_modules/5htp-core/node_modules/preact/compat"],
24
- "react-dom/test-utils": ["../node_modules/5htp-core/node_modules/preact/test-utils"],
25
- "react-dom": ["../node_modules/5htp-core/node_modules/preact/compat"], // Must be below test-utils
26
- "react/jsx-runtime": ["../node_modules/5htp-core/node_modules/preact/jsx-runtime"]
23
+ "react": ["preact/compat"],
24
+ "react-dom/test-utils": ["preact/test-utils"],
25
+ "react-dom": ["preact/compat"], // Must be below test-utils
26
+ "react/jsx-runtime": ["preact/jsx-runtime"]
27
27
  }
28
28
  },
29
29