forked from dej611/spid-react-button
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
125 lines (125 loc) · 3.51 KB
/
package.json
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "@dej611/spid-react-button",
"version": "0.4.1",
"description": "Pulsante SSO per SPID in React",
"author": "dej611",
"license": "EUPL-1.2",
"repository": {
"type": "git",
"url": "git+https://github.com/dej611/spid-react-button.git"
},
"main": "dist/index.js",
"module": "dist/index.modern.js",
"sideEffects": false,
"source": "src/index.tsx",
"engines": {
"node": ">=10"
},
"scripts": {
"build:ts": "microbundle-crl --no-compress --format modern,cjs",
"build:svg": "./scripts/svgs.sh",
"build:css": "./scripts/styles.sh",
"build": "npm run build:css && npm run build:svg && npm run build:ts && npm run doc",
"start": "microbundle-crl watch --no-compress --format modern,cjs",
"prepare": "run-s build",
"test": "run-s test:unit test:lint test:build",
"test:build": "run-s build",
"test:lint": "eslint .",
"test:unit": "cross-env CI=1 react-scripts test --env=jsdom --coverage",
"test:watch": "react-scripts test --env=jsdom",
"predeploy": "cd example && npm install && npm run build",
"deploy": "gh-pages -d example/build",
"doc": "typedoc src/index.tsx --excludePrivate --json ./doc.json && node scripts/doc.js",
"providers:check": "node ./scripts/check_providers.js"
},
"peerDependencies": {
"react": ">=16.8.0",
"@types/react": ">=16.8.0",
"typeface-titillium-web": "latest"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
},
"typeface-titillium-web": {
"optional": true
}
},
"devDependencies": {
"@testing-library/jest-dom": "5.11.9",
"@testing-library/react": "11.2.5",
"@testing-library/user-event": "13.0.6",
"@types/jest": "^25.1.4",
"@types/jest-axe": "^3.5.1",
"@types/node": "^12.12.38",
"@types/react": "^16.9.27",
"@types/react-dom": "^16.9.7",
"@types/react-transition-group": "^4.4.1",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"@typescript-eslint/parser": "^2.26.0",
"babel-eslint": "^10.0.3",
"cross-env": "^7.0.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.7.0",
"eslint-config-standard": "^14.1.0",
"eslint-config-standard-react": "^9.2.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-standard": "^4.0.1",
"fast-xml-parser": "^4.0.11",
"gh-pages": "^2.2.0",
"jest-axe": "^4.1.0",
"microbundle-crl": "^0.13.10",
"node-fetch": "^2.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.4",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "^3.4.1",
"spid-smart-button": "1.1.5",
"svgo": "^2.2.2",
"typedoc": "^0.20.34",
"typeface-titillium-web": "latest",
"typescript": "3.9.9"
},
"files": [
"dist"
],
"bugs": {
"url": "https://github.com/dej611/spid-react-button/issues"
},
"homepage": "https://github.com/dej611/spid-react-button",
"dependencies": {
"react-focus-on": "^3.5.2"
},
"keywords": [
"spid",
"login",
"sso",
"italia.it"
],
"jest": {
"moduleNameMapper": {
"/../(.*).svg$": "<rootDir>/src/$1.svg",
"/./(.*).svg$": "<rootDir>/src/shared/$1.svg"
}
},
"bundlewatch": {
"trackBranches": [
"main"
],
"files": [
{
"path": "./dist/index.js",
"maxSize": "8.0 KB"
},
{
"path": "./dist/index.modern.js",
"maxSize": "8.0 KB"
}
]
}
}