react-component-instance 0.0.0
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/eslint.config.mjs +36 -0
- package/index.d.mts +5 -0
- package/index.mjs +0 -0
- package/package.json +33 -0
- package/tsconfig.json +13 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import globals from 'globals'
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
configs as standard
|
|
5
|
+
} from '@sequencemedia/eslint-config-standard'
|
|
6
|
+
|
|
7
|
+
import {
|
|
8
|
+
configs as typescript
|
|
9
|
+
} from '@sequencemedia/eslint-config-typescript'
|
|
10
|
+
|
|
11
|
+
export default [
|
|
12
|
+
{
|
|
13
|
+
...standard.recommended,
|
|
14
|
+
files: [
|
|
15
|
+
'**/*.{mjs,cjs,mts,cts}'
|
|
16
|
+
],
|
|
17
|
+
languageOptions: {
|
|
18
|
+
...standard.recommended.languageOptions,
|
|
19
|
+
globals: {
|
|
20
|
+
...globals.node
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
...typescript.recommended,
|
|
26
|
+
files: [
|
|
27
|
+
'**/*.{mts,cts}'
|
|
28
|
+
],
|
|
29
|
+
languageOptions: {
|
|
30
|
+
...typescript.recommended.languageOptions,
|
|
31
|
+
globals: {
|
|
32
|
+
...globals.node
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
]
|
package/index.d.mts
ADDED
package/index.mjs
ADDED
|
File without changes
|
package/package.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "react-component-instance",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"main": "./index.mjs",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"types": "./index.d.mts",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "Jonathan Perry for Sequence Media Limited",
|
|
9
|
+
"email": "jonathanperry@sequencemedia.net",
|
|
10
|
+
"url": "https://sequencemedia.net"
|
|
11
|
+
},
|
|
12
|
+
"license": "ISC",
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": ">=18.12.0 <=21.7.3 || >=22.2.0"
|
|
15
|
+
},
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git://github.com/sequencemedia/react-component-instance.git"
|
|
19
|
+
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"lint": "eslint",
|
|
22
|
+
"lint:fix": "npm run lint -- --fix"
|
|
23
|
+
},
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"@sequencemedia/eslint-config-standard": "^0.2.42",
|
|
26
|
+
"@sequencemedia/eslint-config-typescript": "^0.1.60",
|
|
27
|
+
"eslint": "^9.22.0",
|
|
28
|
+
"globals": "^16.0.0"
|
|
29
|
+
},
|
|
30
|
+
"exports": {
|
|
31
|
+
".": "./src/index.mjs"
|
|
32
|
+
}
|
|
33
|
+
}
|