What is the `-s` flag?
See original GitHub issueFor example in "prebuild": "npm run clean -s"
.
},
"scripts": {
"clean": "rimraf dist/*",
"prebuild": "npm run clean -s",
"build": "npm run build:scripts -s && npm run build:styles -s && npm run build:markup -s",
"build:scripts": "browserify -d assets/scripts/main.js -p [minifyify --compressPath . --map main.js.map --output dist/main.js.map] | hashmark -n dist/main.js -s -l 8 -m assets.json 'dist/{name}{hash}{ext}'",
"build:styles": "stylus assets/styles/main.styl -m -o dist/ && hashmark -s -l 8 -m assets.json dist/main.css 'dist/{name}{hash}{ext}'",
"build:markup": "jade assets/markup/index.jade --obj assets.json -o dist",
"test": "karma start --singleRun",
"watch": "parallelshell \"npm run watch:test -s\" \"npm run watch:build -s\"",
"watch:test": "karma start",
"watch:build": "nodemon -q -w assets/ --ext '.' --exec 'npm run build'",
"open:prod": "opener http://example.com",
"open:stage": "opener http://staging.example.internal",
"open:dev": "opener http://localhost:9090",
"deploy:prod": "s3-cli sync ./dist/ s3://example-com/prod-site/",
"deploy:stage": "s3-cli sync ./dist/ s3://example-com/stage-site/",
"serve": "http-server -p 9090 dist/",
"live-reload": "live-reload --port 9091 dist/",
"dev": "npm run open:dev -s & parallelshell \"npm run live-reload -s\" \"npm run serve -s\" \"npm run watch -s\""
},
Issue Analytics
- State:
- Created 8 years ago
- Reactions:3
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Signal Flag Letter S (Sierra) - Maryland Nautical
Signal Flag Letter S (Sierra) ; Phonetic Pronunciation: see-AIR-ah ; Navy Meaning: Conducting flag hoist drill. ; International Meaning: Moving astern.
Read more >"S" (Sierra) Code of Signals Flag - Flagdom
This flag can be used to denote the letter "S" or to communicate the following messages: Moving astern; Conducting flag hoist drill; Shorten...
Read more >Flag of South Africa - Wikipedia
The flag of South Africa was designed in March 1994 and adopted on 27 April 1994, at the beginning of South Africa's 1994...
Read more >S-Flag (Object) - Giant Bomb
S-Flag · The "Special" flag in Rally-X doubles the point value of subsequent flags collected. It appears in other Namco games as a...
Read more >Flags of countries starting with S - Flagpedia.net
Saint Kitts and Nevis Saint Lucia Saint Martin Samoa San Marino São Tomé and Príncipe Saudi Arabia Scotland Senegal Serbia Seychelles Sierra Leone...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks. I understand.
BTW where is this documented, because, like what if @keithamus goes on vacation? 😃
Oh, I meant in this example repo. npm has it fairly well documented on their website: https://docs.npmjs.com/misc/config#shorthands-and-other-cli-niceties