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