I am trying to get npm to build a browser in a script folder. The problem is that I am in the windows and making the / * folder. Js doesn't seem to work. I tried to install glob globally, but whenever I run the build command, an error appears: "I can not find the module" c: \ www \ project \ static \ js \ components * .js'.
Here is my .json package:
{ "name": "TEST", "description": "ITS ME MARIO", "author": "JJ", "version": "0.0.1", "dependencies": { "connect": "1.8.5", "express": "2.5.2", "jade": "0.20.0", "mongoose": "3.8.x", "socket.io": "0.8.7" }, "devDependencies": { "vows": "0.5.x", "mocha": "*", "should": "*", "jshint": "latest", "browserify": "latest", "rimraf": "latest", "hashmark": "latest", "stylus": "latest", "glob": "latest" }, "scripts": { "clean": "rimraf dist", "test": "mocha test/", "build:components-js": "browserify static/js/components/*.js > static/dist/components.js", "build:app-js": "browserify static/js/script > static/dist/app.js", "build:css": "stylus static/css/style.styl > static/dist/main.css", "build": "npm run build:css && npm run build:components-js && npm run build:app-js" }, "engine": "node >= 0.6.6" }
Does anyone know what I'm doing wrong?
source share