• Stars
    star
    831
  • Rank 52,676 (Top 2 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 9 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An example of how to use NPM scripts over Grunt/Gulp & Friends. http://blog.keithcirkel.co.uk/how-to-use-npm-as-a-build-tool

NPM Scripts Example

Firstly, you should go and read how to use NPM as a build tool. Then come back here and explore the repository. It's fairly standard, and the bare minimum to show you what a complex config would look like.

Contributing

See some areas for optimising? Great! Send a PR, I'm definitely interested in seeing some great ways to optimise this.

Notes

Several scripts use the npm -s flag to silence npm's output from the subtasks, which makes the log output a little tidier (it is a shortcut for --loglevel=silent, read more on npms documentation for flags: https://docs.npmjs.com/misc/config#default-configs).

Tips and tricks

Some issues were created in order to discuss or share solutions for additional situations.

These tips and tricks will be documented inside the /tips folder inside their own .md files.

More Repositories

1

jwerty

⌨ Awesome handling of keyboard events
JavaScript
1,213
star
2

sort-package-json

Sort an Object or package.json based on the well-known package.json keys
JavaScript
712
star
3

hashmark

Take contents of a file (or stdin), and output as new file with a hash in the name
JavaScript
195
star
4

tempus

Tempus - Time for a new Date()
JavaScript
94
star
5

R.js

Internationalisation Library for Javascript
JavaScript
75
star
6

ecmascript-operator-overloading-proposal

A proposal for operator overloading in ECMAScript
64
star
7

proposal-object-freeze-seal-syntax

A JavaScript TC39 proposal for Object.freeze & Object.seal syntax
59
star
8

load-testing-node

Various setups for Load Balancing multiple Node.js processes on a single VM
Ruby
57
star
9

invokers-polyfill

JavaScript
44
star
10

hbs-cli

A CLI for handlebars
JavaScript
43
star
11

csslex

A very small and very fast spec compliant css lexer
JavaScript
39
star
12

LinkyPass

LinkyPass Google Chrome Extension
JavaScript
36
star
13

eslint-plugin-escompat

Report errors for code which wont work in browsers without transpiling
JavaScript
29
star
14

proxy-fluent-api

Make Fluent APIs using ES6 Proxies
JavaScript
28
star
15

sort-object-keys

Sort an object's keys, including an optional key list
JavaScript
28
star
16

hdx

Refreshing CSS
Rust
26
star
17

gnome-shell-duckduckgo-search-provider

This is a Search Provider for Gnome Shell, and it provides DuckDuckGo Search functionality.
TypeScript
25
star
18

eslint-config-strict

ESLint sharable config for strict linting
JavaScript
25
star
19

postcss-hash

PostCSS plugin to replace output file names with HASH algorithms (md5, sha256, sha512, etc) and string length of your choice - for cache busting
JavaScript
24
star
20

reading-list

These are the books Im going to read
22
star
21

mini-observable

A mini implementation of TC39 observables, plus some utils!
TypeScript
22
star
22

WebCumberNode

JavaScript
20
star
23

proxy-method-missing

JavaScript
19
star
24

rollup-plugin-brotli

JavaScript
15
star
25

nibstate

TypeScript
14
star
26

getbrightness

JavaScript
14
star
27

fdgt

JavaScript
14
star
28

travis-ci-node-and-browser-qunit

JavaScript
13
star
29

alfred-docker-wizard

Control Docker machines & containers with Alfred
Shell
11
star
30

dotfiles

⚫ These are my dotfiles. There are many like it but these are mine.
Lua
10
star
31

deno-protod

TypeScript
9
star
32

proxy-object-observe

An Object.observe inspired util, based on ES6 proxies
JavaScript
7
star
33

custom-attributes

TypeScript
7
star
34

proposal-array-compact

A proposal for adding a `compact()` method to Arrays
HTML
6
star
35

Avalanche

A web-based GUI for torrent applications (such as rTorrent)
JavaScript
6
star
36

rollup-plugin-inline-invariant

JavaScript
6
star
37

GitAttributesTest

Showing how gitattributes can help you maintain a config file while keeping your config secrets from commits
Shell
5
star
38

deno-varint

Encode/Decode Number/BigInts into an array of Varint bytes
TypeScript
5
star
39

stylelint-config-strict

Stylelint sharable config for strict linting
JavaScript
5
star
40

mqtt-bridges

A platform for bridging APIs into mqtt messages
JavaScript
4
star
41

sourcemap-visualiser

JavaScript
4
star
42

cv

πŸ“„ My curriculum vitae
HTML
3
star
43

wsb

JavaScript
3
star
44

sinomocha

Sinon.JS integration for the Mocha test harness
JavaScript
3
star
45

k-router

A MVC/MVT style router for Connect/Express apps
JavaScript
3
star
46

hubot-seriouslyguys

A hubot script for showing a 'Srsly Guise' gif when someone says 'Seriously Guys' or 'Srsly Guise'
CoffeeScript
3
star
47

probot-flood

A bot that automatically locks issues if they get flooded with comments
JavaScript
3
star
48

proposal-array-filtermap

A proposal for adding a `filterMap()` method to Arrays
HTML
3
star
49

deno-protoc-parser

Parse Google Protocol Buffer DSL into an AST, which can be converted into JSON or back into the Protocol Buffer DSL.
TypeScript
2
star
50

NobleClass

A JavaScript ES5 compliant Class implementation for Browser and NodeJS
JavaScript
2
star
51

zero-env

JavaScript
2
star
52

function-guard

JavaScript
2
star
53

tempus-js.com

Website for Tempus (https://github.com/tempusjs/tempus)
HTML
2
star
54

grunt-hooks

SCM Hook management for Grunt
JavaScript
2
star
55

parse-packagejson-name

Parse an npm package name and returns some mildly interesting details about it
JavaScript
2
star
56

hubot-soon

A hubot script for showing a 'SOON' image when someone says 'soon'
CoffeeScript
2
star
57

deno-scanner

Take a Deno.Reader and perform Lexical Analysis/Tokenization on it, returning a stream of tokens.
TypeScript
2
star
58

qunit-logging

JavaScript
1
star
59

proxy-hide-properties

Hide a property from all conceivable ways of being detected
JavaScript
1
star
60

radon-css

Lightweight alternative to Radium for React
JavaScript
1
star
61

eslint-config-strict-react

eslint-config-strict for React
JavaScript
1
star
62

tar-grab-unpack

Node.js utlity to grab tar files and unpack them
JavaScript
1
star
63

keithamus

1
star
64

evening-with-tc39

JavaScript
1
star
65

recipes

HTML
1
star
66

proposal-multi-module-files

A JavaScript TC39 Proposal for expressing multiple ES6 modules in a single file
JavaScript
1
star
67

vimstart

specify custom VIM start screen text using custom shell scripts
Vim Script
1
star