forked from seksenov/HWAToast
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 4.98 KB
/
package.json
File metadata and controls
57 lines (57 loc) · 4.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"name": "gulp-appx",
"version": "0.0.2",
"description": "Gulp build system for Windows 10 Apps",
"repository": {
"type": "git",
"url": ""
},
"browser": {
"plugin": "./src/bundles/vendor/plugin.js"
},
"browserify": {
"transform": [
"browserify-shim"
]
},
"browserify-shim": {},
"devDependencies": {
"browser-sync": "^2.7.6",
"browserify": "^8.0.2",
"browserify-shim": "^3.8.2",
"del": "^1.1.1",
"gulp": "^3.8.7",
"gulp-autoprefixer": "^2.3.1",
"gulp-changed": "^0.4.1",
"gulp-filesize": "0.0.6",
"gulp-gh-pages": "^0.5.1",
"gulp-imagemin": "^0.6.2",
"gulp-jshint": "^1.9.0",
"gulp-minify-css": "^0.3.11",
"gulp-notify": "^1.4.2",
"gulp-run": "^1.6.8",
"gulp-sass": "^1.1.0",
"gulp-sourcemaps": "^1.2.8",
"gulp-swig": "^0.7.4",
"gulp-uglify": "^1.0.2",
"gulp-util": "^3.0.0",
"gulp-watch": "^4.2.4",
"jshint-stylish": "^1.0.0",
"lodash": "^3.9.3",
"ngrok": "^0.1.99",
"pretty-hrtime": "~0.2.1",
"require-dir": "^0.1.0",
"vinyl-source-stream": "~0.1.1",
"watchify": "^2.2.1",
"xml2js": "^0.4.9",
"yargs": "^3.10.0"
},
"dependencies": {},
"gitHead": "4f3863b67e70fefeaa98b38fd9401b955dae2a88",
"readme": "Build system for Windows 10 App Demos\r\n============\r\n\r\nStarter Gulp + Browserify project + Appx Tools\r\n\r\nIncludes the following tools, tasks, and workflows:\r\n\r\n- [Browserify](http://browserify.org/) (with [browserify-shim](https://github.com/thlorenz/browserify-shim))\r\n- Windows 10 Hosted App Build System\r\n- [Watchify](https://github.com/substack/watchify) (caching version of browserify for super fast rebuilds)\r\n- [SASS](http://sass-lang.com/) (super fast libsass with [source maps](https://github.com/sindresorhus/gulp-ruby-sass#sourcemap), and [autoprefixer](https://github.com/sindresorhus/gulp-autoprefixer))\r\n- [BrowserSync](http://browsersync.io) for live reloading and a static server\r\n- [Image optimization](https://www.npmjs.com/package/gulp-imagemin)\r\n- Error handling in the console [and in Notification Center](https://github.com/mikaelbr/gulp-notify)\r\n- Shimming non common-js vendor code with other dependencies (like a jQuery plugin)\r\n- Multiple bundles with shared dependencies\r\n- Separate compression task for production builds\r\n\r\n### Install npm dependencies\r\n```\r\nnpm install\r\n```\r\n\r\nThis runs through all dependencies listed in `package.json` and downloads them to a `node_modules` folder in your project directory.\r\n\r\n### The `gulp` command\r\nYou can install gulp globally with `npm install -g gulp`, which will add the gulp script to your global bin folder.\r\n\r\nTo use the version that's specified in your project's package.json. You can simply alias `./node_modules/.bin/gulp` to `gulp`. Open up `~/.zshrc` or `~./bashrc` and add the following line:\r\n\r\n```\r\nalias gulp='node_modules/.bin/gulp'\r\n```\r\nNow, running `gulp` in the project directory will use the version specified and installed from the `package.json` file.\r\n\r\n### Run gulp\r\n\r\n```\r\ngulp\r\n```\r\n\r\nThis will run the `default` gulp task defined in `gulp/tasks/default.js`, which has the following task dependencies: `['sass', 'images', 'markup', 'watch']`\r\n- The `sass` task compiles your css files.\r\n- `images` moves images copies images from a source folder, performs optimizations, the outputs them into the build folder\r\n- `markup` doesn't do anything but copy an html file over from src to build, but here is where you could do additional templating work.\r\n- `watch` has `watchify` as a dependency, which will run the browserifyTask with a `devMode` flag that enables sourcemaps and watchify, a browserify add-on that enables caching for super fast recompiling. The task itself starts watching source files and will re-run the appropriate tasks when those files change.\r\n\r\n#### gulp appx\r\nThis command will install your App as a hosted app pointing to `http://localhost:3000` and then launch it.\r\n\r\n#### gulp production\r\n\r\nThere is also a `production` task you can run with `gulp production`, which will re-build optimized, compressed css and js files to the build folder, as well as output their file sizes to the console. It's a shortcut for running the following tasks: `['images', 'minifyCss', 'uglifyJs']`.\r\n\r\n### Configuration\r\nAll paths and plugin settings have been abstracted into a centralized config object in `gulp/config.js`. Adapt the paths and settings to the structure and needs of your project.\r\n\r\n### \r\nApplication icon: [web design by Simple Icons from the Noun Project](https://thenounproject.com/search/?q=code&i=32232)\r\n\r\nProject using: [Gulp Starter](https://github.com/greypants/gulp-starter) as base\r\n",
"readmeFilename": "README.md",
"_id": "gulp-appx@0.0.2",
"_shasum": "192f0b765456f6fd78aa1994de52b79ffe10e004",
"_from": "git://github.com/MicrosoftEdge/gulp-appx.git",
"_resolved": "git://github.com/MicrosoftEdge/gulp-appx.git#4f3863b67e70fefeaa98b38fd9401b955dae2a88"
}