@trust-proto/auth-react 0.4.0 → 0.4.1
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/README.md +86 -30
- package/build/index.js +1 -1
- package/lib/liberion-auth.js +1 -1
- package/package.json +5 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trust-proto/auth-react",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Liberion Auth Frontend SDK - React authentication widget",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"files": [
|
|
@@ -71,12 +71,12 @@
|
|
|
71
71
|
"access": "public"
|
|
72
72
|
},
|
|
73
73
|
"scripts": {
|
|
74
|
-
"build": "npm run build:
|
|
75
|
-
"build:
|
|
76
|
-
"build:
|
|
74
|
+
"build": "npm run build:npm && npm run build:standalone",
|
|
75
|
+
"build:npm": "webpack --mode production --env target=lib",
|
|
76
|
+
"build:standalone": "webpack --mode production --config webpack-pack.config.js",
|
|
77
77
|
"dev": "webpack serve --mode development --config webpack.config.js",
|
|
78
78
|
"lint": "eslint ./src --ext .js,.jsx",
|
|
79
79
|
"lint:fix": "eslint --fix ./src --ext .js,.jsx",
|
|
80
|
-
"clean": "rm -rf build dist"
|
|
80
|
+
"clean": "rm -rf build dist lib"
|
|
81
81
|
}
|
|
82
82
|
}
|