mobx-react-use-autorun 3.0.19 → 3.0.20

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.
Files changed (2) hide show
  1. package/README.md +1 -13
  2. package/package.json +1 -61
package/README.md CHANGED
@@ -12,25 +12,13 @@ In the project directory, you can run:<br/>
12
12
 
13
13
  ### `npm test`
14
14
 
15
- Pre-step, please run<br/>
16
-
17
- npm install
18
-
19
15
  Run all unit tests.<br/>
20
16
 
21
17
  ### `npm run build`
22
18
 
23
- Pre-step, please run<br/>
24
-
25
- npm install
26
-
27
19
  Builds the files for production to the `dist` folder.<br/>
28
20
 
29
- ### `npm publish`
30
-
31
- Pre-step, please run<br/>
32
-
33
- npm install
21
+ ### `npm run make`
34
22
 
35
23
  Publish to npm repository
36
24
 
package/package.json CHANGED
@@ -1,61 +1 @@
1
- {
2
- "name": "mobx-react-use-autorun",
3
- "version": "3.0.19",
4
- "description": "React Hook for mobx",
5
- "scripts": {
6
- "build": "npm install -g typescript@4.6.3 @types/node@17.0.23 ts-node@10.7.0 cross-env@7.0.3 && cross-env TS_NODE_SKIP_PROJECT=true ts-node bin/mobx_react_build.ts",
7
- "test": "npm install -g typescript@4.6.3 @types/node@17.0.23 ts-node@10.7.0 cross-env@7.0.3 && cross-env TS_NODE_SKIP_PROJECT=true ts-node bin/mobx_react_test.ts",
8
- "prepublishOnly": "npm test && npm run build"
9
- },
10
- "dependencies": {
11
- "mobx": ">=6.5.0",
12
- "mobx-react-lite": ">=3.3.0",
13
- "react-use": ">=17.3.2",
14
- "rxjs": ">=6.0.0"
15
- },
16
- "peerDependencies": {
17
- "react": ">=16.8.0"
18
- },
19
- "devDependencies": {
20
- "@testing-library/jest-dom": "5.16.4",
21
- "@testing-library/react": "12.1.5",
22
- "@testing-library/user-event": "13.5.0",
23
- "@types/jest": "27.5.0",
24
- "@types/node": "17.0.31",
25
- "@types/react": "17.0.44",
26
- "@types/react-dom": "18.0.3",
27
- "react": "17.0.2",
28
- "react-dom": "17.0.2",
29
- "react-scripts": "5.0.1",
30
- "typescript": "4.6.4"
31
- },
32
- "license": "MIT",
33
- "keywords": [
34
- "react",
35
- "mobx",
36
- "typescript"
37
- ],
38
- "main": "./dist/index.js",
39
- "types": "./dist/index.d.ts",
40
- "eslintConfig": {
41
- "extends": [
42
- "react-app",
43
- "react-app/jest"
44
- ]
45
- },
46
- "homepage": "https://github.com/zdu-strong/mobx-react-use-autorun#readme",
47
- "repository": {
48
- "type": "git",
49
- "url": "git+https://github.com/zdu-strong/mobx-react-use-autorun.git"
50
- },
51
- "files": [
52
- "lib",
53
- "dist"
54
- ],
55
- "bugs": {
56
- "url": "https://github.com/zdu-strong/mobx-react-use-autorun/issues"
57
- },
58
- "publishConfig": {
59
- "registry": "https://registry.npmjs.org/"
60
- }
61
- }
1
+ {"name":"mobx-react-use-autorun","version":"3.0.20","description":"React Hook for mobx","scripts":{"test":"npm install -g typescript@latest @types/node@latest ts-node@latest cross-env@latest && cross-env TS_NODE_SKIP_PROJECT=true ts-node bin/mobx_react_test.ts","build":"npm install -g typescript@latest @types/node@latest ts-node@latest cross-env@latest && cross-env TS_NODE_SKIP_PROJECT=true ts-node bin/mobx_react_build.ts","make":"npm install -g typescript@latest @types/node@latest ts-node@latest cross-env@latest && cross-env TS_NODE_SKIP_PROJECT=true ts-node bin/mobx_react_make.ts"},"dependencies":{"mobx":">=6.5.0","mobx-react-lite":">=3.3.0","react-use":">=17.3.2","rxjs":">=6.0.0"},"peerDependencies":{"react":">=16.8.0"},"license":"MIT","keywords":["react","mobx","typescript"],"main":"./dist/index.js","types":"./dist/index.d.ts","eslintConfig":{"extends":["react-app","react-app/jest"]},"homepage":"https://github.com/zdu-strong/mobx-react-use-autorun#readme","repository":{"type":"git","url":"git+https://github.com/zdu-strong/mobx-react-use-autorun.git"},"files":["lib","dist"],"bugs":{"url":"https://github.com/zdu-strong/mobx-react-use-autorun/issues"},"publishConfig":{"registry":"https://registry.npmjs.org/"}}