creativestyle / creative-patterns
Pattern library
Installs: 23 838
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 18
Language:TypeScript
- dev-develop
- v3.0.0
- v2.31.1
- v2.31.0
- v2.30.2
- v2.30.1
- v2.30.0
- v2.29.6
- v2.29.5
- v2.29.4
- v2.29.3
- v2.29.2
- v2.29.1
- v2.29.0
- v2.28.0
- v2.27.0
- v2.26.1
- v2.26.0
- v2.25.0
- v2.24.2
- v2.24.1
- v2.24.0
- v2.23.1
- v2.23.0
- v2.22.0
- v2.21.0
- v2.20.0
- v2.19.4
- v2.19.3
- v2.19.2
- v2.19.1
- v2.19.0
- v2.18.0
- v2.17.0
- v2.16.6
- v2.16.5
- v2.16.4
- v2.16.3
- v2.16.2
- v2.16.1
- v2.16.0
- v2.15.1
- v2.15.0
- v2.14.0
- v2.13.4
- v2.13.3
- v2.13.2
- v2.13.1
- v2.13.0
- v2.12.3
- v2.12.2
- v2.12.1
- v2.12.0
- v2.11.0
- v2.10.0
- v2.9.1
- v2.9.0
- v2.8.4
- v2.8.3
- v2.8.2
- v2.8.1
- v2.8.0
- v2.7.4
- v2.7.3
- v2.7.2
- v2.7.1
- v2.7.0
- v2.6.5
- v2.6.4
- v2.6.3
- v2.6.2
- v2.6.1
- v2.6.0
- v2.5.2
- v2.5.1
- v2.5.0
- v2.4.0
- v2.3.2
- v2.3.1
- v2.3.0
- v2.2.3
- v2.2.2
- v2.2.1
- v2.2.0
- v2.1.2
- v2.1.1
- v2.1.0
- v2.0.2
- v2.0.1
- v2.0.0
- v1.7.2
- v1.7.1
- v1.7.0
- v1.6.1
- v1.6.0
- v1.5.2
- v1.5.0
- v1.4.4
- v1.4.3
- v1.4.2
- v1.4.1
- v1.4.0
- v1.3.0
- v1.2.2
- v1.2.1
- v1.2.0
- v1.0.2
- v1.0.1
- v1.0.0
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/css-what-2.1.3
- dev-dependabot/npm_and_yarn/follow-redirects-1.14.8
- dev-dependabot/npm_and_yarn/chownr-1.1.4
- dev-dependabot/npm_and_yarn/path-parse-1.0.7
- dev-dependabot/npm_and_yarn/tar-2.2.2
- dev-dependabot/npm_and_yarn/set-getter-0.1.1
- dev-dependabot/npm_and_yarn/locutus-2.0.15
- dev-dependabot/npm_and_yarn/hosted-git-info-2.8.9
- dev-dependabot/npm_and_yarn/handlebars-4.7.7
- dev-dependabot/npm_and_yarn/y18n-3.2.2
- dev-dependabot/npm_and_yarn/node-notifier-8.0.1
- dev-dependabot/npm_and_yarn/ini-1.3.7
- dev-dependabot/npm_and_yarn/lodash.mergewith-4.6.2
- dev-dependabot/npm_and_yarn/node-sass-4.14.1
- dev-dependabot/npm_and_yarn/jquery-3.5.0
- dev-dependabot/npm_and_yarn/acorn-5.7.4
- dev-dependabot/npm_and_yarn/mixin-deep-1.3.2
This package is auto-updated.
Last update: 2024-11-30 02:02:21 UTC
README
This is creativestyle's pattern library that will contain all of the awesome code written by our great developers.
Local installation
To install the local copy of the library:
- Make sure you have
node >=4.0.0
installed on your computer, you can runnode -v
in console to check it. - Clone the repository.
- Run
npm install
in project's root to install all of the needed dependencies. - Run
npm run serve
to build the library and start its website.
Essential commands
Since pattern library's build system is based on gulp, here are some most essential commands which are helpful when working with it.
npm run build
orgulp build
- Builds entire pattern library.npm run serve
orgulp serve
- Builds entire pattern library and fires up local dev server which let's you browse the files.npm run test
orgulp test
- Build scripts and runs unit tests.- Use
-w
or--watch
flag to rerun tests each time files change. - Use
-p package_path
or--package package_path
to run tests for single package wherepackage_path
is a path relative topackages
directory.
- Use
npm run lint
orgulp lint
- Lints scripts and styles according to our code style rules.
Adding new components
- Clone it!
- Run
npm install
in project's root to install all of the needed dependencies. - Run
npm run generator
to fire up component generator. - Follow generator instructions.
- Write your code in newly generated directory.
- Add documentation and tests.
- Follow Contributing guide since point 2.
Contributing
- Clone it!
- Create your feature branch:
git checkout -b feature-my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin feature/my-new-feature
- Submit a merge request :D