shinkansen-sprockets 1.0.59 → 1.0.61
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/jsconfig.json +11 -0
- package/package.json +8 -3
- package/src/index.d.mts +7 -0
- package/tsconfig.json +21 -0
package/jsconfig.json
ADDED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "shinkansen-sprockets",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.61",
|
4
4
|
"description": "Shinkansen Sprockets",
|
5
5
|
"keywords": [
|
6
6
|
"Shinkansen",
|
@@ -12,6 +12,7 @@
|
|
12
12
|
],
|
13
13
|
"main": "./src/index.cjs",
|
14
14
|
"type": "module",
|
15
|
+
"types": "./src/index.d.mts",
|
15
16
|
"author": "Jonathan Perry for Modern Poacher Limited <modernpoacher@modernpoacher.com>",
|
16
17
|
"license": "MIT",
|
17
18
|
"engines": {
|
@@ -30,7 +31,7 @@
|
|
30
31
|
"pregulp": "npm run nvm",
|
31
32
|
"gulp": "gulp --color",
|
32
33
|
"prelint": "npm run nvm",
|
33
|
-
"lint": "cross-env NODE_ENV=production eslint . .storybook --ext .mjs --ext .cjs --ext .jsx",
|
34
|
+
"lint": "cross-env NODE_ENV=production eslint . .storybook --ext .mjs --ext .cjs --ext .jsx --ext .mts",
|
34
35
|
"lint:fix": "npm run lint -- --fix",
|
35
36
|
"pretest": "npm run nvm",
|
36
37
|
"test": "cross-env NODE_ENV=test jest --collect-coverage false --verbose --run-in-band",
|
@@ -53,13 +54,16 @@
|
|
53
54
|
"@babel/preset-env": "^7.21.5",
|
54
55
|
"@babel/preset-react": "^7.18.6",
|
55
56
|
"@babel/register": "^7.21.0",
|
56
|
-
"@modernpoacher/design-system": "1.0.
|
57
|
+
"@modernpoacher/design-system": "1.0.6",
|
57
58
|
"@modernpoacher/hooks": "^1.0.396",
|
58
59
|
"@sequencemedia/gulp": "^1.0.7",
|
59
60
|
"@storybook/addon-actions": "6.5.12",
|
60
61
|
"@storybook/addon-essentials": "6.5.12",
|
61
62
|
"@storybook/addon-links": "6.5.12",
|
62
63
|
"@storybook/react": "6.5.12",
|
64
|
+
"@types/react": "^18.2.6",
|
65
|
+
"@typescript-eslint/eslint-plugin": "^5.59.2",
|
66
|
+
"@typescript-eslint/parser": "^5.59.2",
|
63
67
|
"autoprefixer": "^10.4.14",
|
64
68
|
"babel-plugin-module-resolver": "^5.0.0",
|
65
69
|
"core-js": "^3.30.2",
|
@@ -70,6 +74,7 @@
|
|
70
74
|
"enzyme-adapter-react-16": "^1.15.7",
|
71
75
|
"eslint": "^8.40.0",
|
72
76
|
"eslint-config-standard": "^17.0.0",
|
77
|
+
"eslint-config-standard-with-typescript": "^34.0.1",
|
73
78
|
"eslint-import-resolver-babel-module": "^5.3.2",
|
74
79
|
"eslint-plugin-import": "^2.27.5",
|
75
80
|
"eslint-plugin-node": "^11.1.0",
|
package/src/index.d.mts
ADDED
package/tsconfig.json
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
{
|
2
|
+
"compilerOptions": {
|
3
|
+
"module": "es2020",
|
4
|
+
"target": "es2020",
|
5
|
+
"moduleResolution": "node",
|
6
|
+
"noEmit": true,
|
7
|
+
"strict": true,
|
8
|
+
"isolatedModules": true,
|
9
|
+
"noImplicitAny": true,
|
10
|
+
"allowSyntheticDefaultImports": true,
|
11
|
+
"baseUrl": "./",
|
12
|
+
"paths": {
|
13
|
+
"shinkansen-sprockets/*": [
|
14
|
+
"src/*"
|
15
|
+
]
|
16
|
+
}
|
17
|
+
},
|
18
|
+
"include": [
|
19
|
+
"src/*"
|
20
|
+
]
|
21
|
+
}
|