asma-doc-viewer 1.0.11 → 1.0.12
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/package.json +64 -64
package/package.json
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
2
|
+
"name": "asma-doc-viewer",
|
|
3
|
+
"version": "1.0.12",
|
|
4
|
+
"description": "Document viewer",
|
|
5
|
+
"author": "",
|
|
6
|
+
"license": "ISC",
|
|
7
|
+
"repository": {
|
|
8
|
+
"url": ""
|
|
9
|
+
},
|
|
10
|
+
"main": "build/index.js",
|
|
11
|
+
"types": "build/index.d.ts",
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"pdfjs-dist": "4.2.67",
|
|
14
|
+
"print-js": "^1.6.0",
|
|
15
|
+
"react-pdf": "9.1.0",
|
|
16
|
+
"styled-components": "^5.3.5"
|
|
17
|
+
},
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"@testing-library/jest-dom": "^5.16.4",
|
|
20
|
+
"@testing-library/react": "^13.3.0",
|
|
21
|
+
"@testing-library/user-event": "^14.2.1",
|
|
22
|
+
"@types/jest": "^28.1.2",
|
|
23
|
+
"@types/node": "^18.0.0",
|
|
24
|
+
"@types/pdfjs-dist": "^2.10.378",
|
|
25
|
+
"@types/react": "^18.0.14",
|
|
26
|
+
"@types/react-dom": "^17.0.2",
|
|
27
|
+
"@types/react-pdf": "7.0.0",
|
|
28
|
+
"@types/styled-components": "^5.1.25",
|
|
29
|
+
"generate-changelog": "^1.8.0",
|
|
30
|
+
"react": "^18.0.14",
|
|
31
|
+
"react-dom": "^18.0.14",
|
|
32
|
+
"react-scripts": "5.0.1",
|
|
33
|
+
"typescript": "^5.1.6"
|
|
34
|
+
},
|
|
35
|
+
"scripts": {
|
|
36
|
+
"start": "react-scripts start",
|
|
37
|
+
"build": "rm -rf build/* && tsc -p tsconfig-npm.json",
|
|
38
|
+
"test": "react-scripts test",
|
|
39
|
+
"eject": "react-scripts eject",
|
|
40
|
+
"version:patch": "pnpm run version:pre && pnpm run version:changelog && pnpm version patch && pnpm run version:post",
|
|
41
|
+
"version:minor": "pnpm run version:pre && pnpm run version:changelog && pnpm version minor && pnpm run version:post",
|
|
42
|
+
"version:major": "pnpm run version:pre && pnpm run version:changelog && pnpm version major && pnpm run version:post",
|
|
43
|
+
"version:pre": "if [ $(git rev-parse --abbrev-ref HEAD) != 'master' ]; then echo \"\\033[1m\\033[31mCurrently on $(git rev-parse --abbrev-ref HEAD) branch. Please checkout master.\\033[0m\"; exit 1; else exit 0; fi",
|
|
44
|
+
"version:changelog": "changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md'",
|
|
45
|
+
"version:post": "git push origin master && git push origin master --tags",
|
|
46
|
+
"build-release:patch": "react-scripts test --watchAll=false && pnpm run build && pnpm run version:patch",
|
|
47
|
+
"build-release:minor": "react-scripts test --watchAll=false && pnpm run build && pnpm run version:minor",
|
|
48
|
+
"build-release:major": "react-scripts test --watchAll=false && pnpm run build && pnpm run version:major",
|
|
49
|
+
"preinstall": "npx only-allow pnpm"
|
|
50
|
+
},
|
|
51
|
+
"eslintConfig": {
|
|
52
|
+
"extends": "react-app"
|
|
53
|
+
},
|
|
54
|
+
"browserslist": {
|
|
55
|
+
"production": [
|
|
56
|
+
">0.2%",
|
|
57
|
+
"not dead",
|
|
58
|
+
"not op_mini all"
|
|
59
|
+
],
|
|
60
|
+
"development": [
|
|
61
|
+
"last 1 chrome version",
|
|
62
|
+
"last 1 firefox version",
|
|
63
|
+
"last 1 safari version"
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
66
|
}
|