Skip to content

Commit 8640f85

Browse files
fix: copy assets (#109)
1 parent 5d0aac9 commit 8640f85

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@indec/react-commons",
3-
"version": "7.0.1",
3+
"version": "7.0.2",
44
"description": "Common reactjs components for apps",
55
"private": false,
66
"main": "index.js",
@@ -12,7 +12,7 @@
1212
},
1313
"scripts": {
1414
"start": "start-storybook -p 6006",
15-
"build": "npm run build:css && NODE_ENV=production babel src --out-dir lib && cp package.json README.md LICENSE.md lib/ && cp src/components/output.css lib/components/ && find lib -name '*.js' -exec sed -i \"s/\\.jsx'/\\.js'/g\" {} + && find lib -name '*.js' -exec sed -i 's/\\.jsx\"/\\.js\"/g' {} +",
15+
"build": "npm run build:css && NODE_ENV=production babel src --out-dir lib && cp package.json README.md LICENSE.md lib/ && cp src/components/output.css lib/components/ && cp -r src/assets lib/ && find lib -name '*.js' -exec sed -i \"s/\\.jsx'/\\.js'/g\" {} + && find lib -name '*.js' -exec sed -i 's/\\.jsx\"/\\.js\"/g' {} +",
1616
"build-storybook": "storybook build",
1717
"test": "jest --config=jest.config.json",
1818
"test:watch": "jest --config=jest.config.json --watch",
@@ -28,6 +28,7 @@
2828
"components",
2929
"hooks",
3030
"utils",
31+
"assets",
3132
"index.js",
3233
"LICENSE.md",
3334
"README.md",

0 commit comments

Comments
 (0)