🔧 Updated gitignore and scripts config
This commit is contained in:
parent
b18b117948
commit
2fc2498f44
3 changed files with 33 additions and 2 deletions
17
.gitignore
vendored
17
.gitignore
vendored
|
@ -2,8 +2,21 @@
|
|||
|
||||
# Specifics
|
||||
packages/plugin-theme/src/bundle.css.js
|
||||
**/example/
|
||||
!packages/create-freesewing-pattern/temlate/default/example
|
||||
packages/components/Blockquote
|
||||
packages/components/Draft
|
||||
packages/components/DraftConfigurator
|
||||
packages/components/Emblem
|
||||
packages/components/Example
|
||||
packages/components/Footer
|
||||
packages/components/Icon
|
||||
packages/components/Logo
|
||||
packages/components/Navbar
|
||||
packages/components/Ogol
|
||||
packages/components/Robot
|
||||
packages/components/SampleConfigurator
|
||||
packages/components/withGist
|
||||
packages/components/withLanguage
|
||||
packages/components/Workbench
|
||||
|
||||
# dependencies
|
||||
node_modules
|
||||
|
|
|
@ -9,6 +9,23 @@ packageJson:
|
|||
components:
|
||||
# react-scripts doesn't handle .mjs files correctly
|
||||
module: '!'
|
||||
files:
|
||||
- "Blockquote/*",
|
||||
- "Draft/*",
|
||||
- "DraftConfigurator/*",
|
||||
- "Emblem/*",
|
||||
- "Example/*",
|
||||
- "Footer/*",
|
||||
- "Icon/*",
|
||||
- "Logo/*",
|
||||
- "Navbar/*",
|
||||
- "Ogol/*",
|
||||
- "Robot/*",
|
||||
- "SampleConfigurator/*",
|
||||
- "withGist/*",
|
||||
- "withLanguage/*",
|
||||
- "Workbench/*",
|
||||
|
||||
create-freesewing-pattern:
|
||||
bin:
|
||||
create-freesewing-pattern: index.js
|
||||
|
|
|
@ -23,6 +23,7 @@ components:
|
|||
storybook: "start-storybook -p 6663"
|
||||
# react-scripts doesn't handle .mjs files correctly
|
||||
modulebuild: '!'
|
||||
clean: "rimraf Blockquote && rimraf Draft && rimraf DraftConfigurator && rimraf Emblem && rimraf Example && rimraf Footer && rimraf Icon && rimraf Logo && rimraf Navbar && rimraf Ogol && rimraf Robot && rimraf SampleConfigurator && rimraf withGist && rimraf withLanguage && rimraf Workbench",
|
||||
build: "npm run clean && npm run nodebuild"
|
||||
watch: "BABEL_ENV=production rollup -c -w -o dist/index.js -f cjs"
|
||||
core:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue