pcm-shared-components 0.0.46 → 0.0.47
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 +3 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -14,6 +14,9 @@ Manually deploying is faster then committing the code as it doesn't need to crea
|
|
|
14
14
|
# Must build the Storybook dist folder before manually publishing
|
|
15
15
|
> npm run build
|
|
16
16
|
|
|
17
|
+
# Edit the package.json file and up he version.
|
|
18
|
+
> npm version patch --force
|
|
19
|
+
|
|
17
20
|
# Login if not already logged in
|
|
18
21
|
> npm login
|
|
19
22
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pcm-shared-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.47",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"babel": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"build-storybook": "build-storybook",
|
|
18
18
|
"clean": "rm -rf dist",
|
|
19
19
|
"build-tailwind": "NODE_ENV=production npx tailwindcss -o ./dist/styles/tailwind.css --minify",
|
|
20
|
-
"build": "npm
|
|
20
|
+
"build": "npm run clean && NODE_ENV=production babel src/ --out-dir dist --ignore '**/*.stories.js' --ignore '**/*.stories.mdx' --ignore '**/*.docs.js' && npm run build-tailwind && cp ./src/styles/prism.css ./dist/styles/"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"react": "^17.0.2",
|