Coder Social home page Coder Social logo

Comments (3)

tomtom215 avatar tomtom215 commented on July 23, 2024

Here is my work around for package.son for those on windows experiencing errors. I left the original ones in for easy comparison. Just run Bower install manually and then win* scripts will work the same as the originals.

{
"scripts": {
"build": "babel scripts -s --minified --compact true -d lib; bower install; echo 'Done. Ready to deploy.'",
"win-build": "babel scripts -s --minified --compact true -d lib",
"serve": "firebase serve & babel -w scripts -s --retain-lines -d lib",
"win-serve":"firebase serve && babel -w scripts -s --retain-lines -d lib"
},

from friendlypix.

llanzo avatar llanzo commented on July 23, 2024

Thanks for package.json workaround, for anyone else who ends up here, make sure to double check the scripts path. Following the example provided by @tomtom215 I modified my package.json on windows as follows :
{
"scripts": {
"build": "babel public/scripts -s --minified --compact true -d public/scripts-es5; bower install; echo 'Done. Ready to deploy.'",
"win-build": "babel public/scripts -s --minified --compact true -d lib",
"serve": "bower install; firebase serve & babel -w public/scripts -s --retain-lines -d public/scripts-es5",
"win-serve":"firebase serve && babel -w scripts -s --retain-lines -d lib"
},

from friendlypix.

nicolasgarnier avatar nicolasgarnier commented on July 23, 2024

This issue was moved to googlearchive/friendlypix-web#16

from friendlypix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.