Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update bower.json main files to match "standards" #97

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 21, 2015
Merged

Update bower.json main files to match "standards" #97

merged 1 commit into from
Mar 21, 2015

Conversation

rickdoesdev
Copy link
Contributor

This update allows use of bower.json main value in build tools that rely on the appropriate files being defined in this main array. It also points to the un-minified, compiled versions as per bower spec:
https://github.com/bower/bower.json-spec#main

This brings the main value in line with other popular libraries such as jQuery/Bootstrap/Angular for use with tools such as wiredep and main-bower-files (gulp tool)

Changes below:

  • Changes main js file to use unminified version
  • Adds the gridstack.css file to the main files array
  • Moves compiled CSS into dist folder (upstream build process needs update)
  • Duplicate src/gridstack.js into dist/gridstack.js (upstream build process needs update)
  • Update demo html to point to dist instead of src

Whatever process is used by troolee upstream for compiling the scss into css needs to be updated to ensure it deploys into the new location. The same process should also be updated to copy the src/gridstack.js into dist/gridstack.js on build.

This update allows use of bower.json main value in buildtools that rely on
the appropriate files being defined in this main array. It also points to
the unminified, but compiled dist versions as per bower spec:

https://github.com/bower/bower.json-spec#main

  * Changes main js file to use unminified version
  * Adds the gridstack.css file to the main files array
  * Moves compiled CSS into `dist` folder (upstream build process needs update)
  * Duplicate `src/gridstack.js` into `dist/gridstack.js` (upstream build process needs update)
  * Update demo html to point to `dist` instead of `src`
troolee added a commit that referenced this pull request Mar 21, 2015
Update bower.json main files to match "standards"
@troolee troolee merged commit 310c854 into gridstack:master Mar 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants