UNPKG

2.98 kBJSONView Raw
1{
2 "name": "react-imported-component",
3 "version": "6.5.4",
4 "description": "I will import your component, and help to handle it",
5 "main": "dist/es5/entrypoints/index.js",
6 "jsnext:main": "dist/es2015/entrypoints/index.js",
7 "module": "dist/es2015/entrypoints/index.js",
8 "module:es2019": "dist/es2019/entrypoints/index.js",
9 "types": "dist/es5/entrypoints/index.d.ts",
10 "sideEffects": false,
11 "scripts": {
12 "build:ci": "lib-builder build && yarn size",
13 "build": "lib-builder build && yarn size && yarn size:report",
14 "test": "jest",
15 "prepublish": "yarn build && yarn changelog",
16 "lint": "lib-builder lint",
17 "dev": "lib-builder dev",
18 "test:ci": "jest --runInBand --coverage",
19 "release": "yarn build && yarn test",
20 "format": "lib-builder format",
21 "size": "npx size-limit",
22 "size:report": "npx size-limit --json > .size.json",
23 "update": "lib-builder update",
24 "docz:dev": "docz dev",
25 "docz:build": "docz build",
26 "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
27 "changelog:rewrite": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0"
28 },
29 "repository": {
30 "type": "git",
31 "url": "git+https://github.com/theKashey/react-hot-component-loader.git"
32 },
33 "bin": {
34 "imported-components": "./bin/imported-components"
35 },
36 "keywords": [
37 "react-hot-loader",
38 "loader",
39 "import",
40 "async",
41 "ssr",
42 "code splitting",
43 "hmr"
44 ],
45 "peerDependencies": {
46 "@types/react": "^16.9.0 || ^17.0.0 || ^18.0.0",
47 "react": "^16.9.0 || ^17.0.0 || ^18.0.0"
48 },
49 "peerDependenciesMeta": {
50 "@types/react": {
51 "optional": true
52 }
53 },
54 "author": "theKashey <thekashey@gmail.com>",
55 "license": "MIT",
56 "bugs": {
57 "url": "https://github.com/theKashey/react-hot-component-loader/issues"
58 },
59 "homepage": "https://github.com/theKashey/react-hot-component-loader#readme",
60 "devDependencies": {
61 "@theuiteam/lib-builder": "^0.1.4",
62 "@size-limit/preset-small-lib": "^4.5.1",
63 "@babel/core": "^7.5.5",
64 "@babel/preset-react": "^7.0.0",
65 "@babel/runtime": "^7.3.1",
66 "@babel/plugin-syntax-dynamic-import": "^7.5.5",
67 "babel-plugin-dynamic-import-node": "^2.3.0",
68 "babel-plugin-tester": "^7.0.1"
69 },
70 "dependencies": {
71 "babel-plugin-macros": "^2.6.1",
72 "crc-32": "^1.2.0",
73 "detect-node-es": "^1.0.0",
74 "scan-directory": "^2.0.0",
75 "tslib": "^2.0.0"
76 },
77 "engines": {
78 "node": ">=10"
79 },
80 "files": [
81 "bin",
82 "dist",
83 "boot",
84 "server",
85 "macro",
86 "babel.js",
87 "wrapper.js"
88 ],
89 "husky": {
90 "hooks": {
91 "pre-commit": "lint-staged"
92 }
93 },
94 "lint-staged": {
95 "*.{ts,tsx}": [
96 "prettier --write",
97 "eslint --fix",
98 "git add"
99 ],
100 "*.{js,css,json,md}": [
101 "prettier --write",
102 "git add"
103 ]
104 },
105 "prettier": {
106 "printWidth": 120,
107 "trailingComma": "es5",
108 "tabWidth": 2,
109 "semi": true,
110 "singleQuote": true
111 }
112}