-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
91 lines (91 loc) · 3.37 KB
/
package.json
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "stupidlittlewebsite",
"version": "2.0.16",
"description": "A small demo site for our npm scripting adventures",
"main": "index.js",
"scripts": {
"start": "node index.js",
"start:dev": "node index.js 4000",
"test": "mocha test -u bdd -R spec",
"test:options": "mocha",
"lint": "jshint --exclude ./lib/*.js *.js **/*.js",
"pretest": "npm run compile && npm run lint",
"compile:coffee": "coffee --compile --output ./lib ./src/coffeescripts",
"compile:ts": "tsc --outDir ./lib --module commonjs ./src/typescripts/tsCode.ts",
"compile": "npm run compile:coffee && npm run compile:ts",
"precompile": "npm run clean",
"clean": "rimraf lib/*",
"build:less": "lessc client/less/demo.less public/css/site.css",
"build:bundle": "browserify ./client/js/app.js | uglifyjs -mc > ./public/js/bundle.js",
"build:clean": "rimraf public/css/*, public/js/*",
"prebuild": "npm run build:clean",
"build": "npm run build:less && npm run build:bundle",
"postbuild": "echo 'Build succeeded!'",
"watch:test": "npm run test -- -w -R min",
"watch:lint": "watch 'npm run lint' .",
"watch:server": "nodemon --ignore client --ignore public index.js",
"watch:coffee": "coffee --compile -w --output ./lib ./src/coffeescripts",
"watch:ts": "tsc -w --outDir ./lib --module commonjs ./src/typescripts/tsCode.ts",
"watch:bundle": "watchify ./client/js/app.js -o ./public/js/bundle.js -dv",
"watch:bundleWatcher": "watch 'npm run build:bundle' client",
"watch:browser": "live-reload --port 9091 public/",
"watch": "npm run watch:test & npm run watch:bundle & npm run watch:server & npm run watch:browser",
"version:major": "npm version major",
"version:minor": "npm version minor",
"version:patch": "npm version patch",
"prepush:origin": "echo 'Pushing code to GitHub'",
"push:origin": "git push --tags origin HEAD:master",
"prepush:heroku": "echo 'Pushing code to Heroku'",
"push:heroku": "git push heroku master",
"push:s3": "s3-cli sync ./dist/ s3://example-com/prod-site/",
"push:azure": "git push azure master",
"launch:prod": "heroku open",
"launch:prod:windows": "start https://stupidlittlewebsite.herokuapp.com/",
"push": "npm run push:origin && npm run push:heroku",
"deploy:prod": "npm run test:deploy -s && npm run build -s && npm run version:patch && npm run push && npm run launch:prod",
"deploy:prod:time": "time(npm run deploy:prod)",
"deploy:prod:script": "bash ./deployProd.sh",
"test:deploy": "npm t -- -R dot",
"test:configoptions": "mocha test --reporter $npm_package_config_reporter"
},
"config": {
"reporter": "landing"
},
"engines": {
"node": "~4.0.0",
"npm": "~2.14.0"
},
"jshintConfig": {
"esnext": "true",
"noyield": "true"
},
"keywords": [
"npm",
"scripting"
],
"author": "Marcus Hammarberg @marcusoftnet",
"license": "MIT",
"dependencies": {
"koa": "^1.0.0"
},
"devDependencies": {
"browserify": "^11.2.0",
"coffee-script": "^1.10.0",
"jshint": "^2.8.0",
"less": "^2.5.3",
"live-reload": "^1.1.0",
"mocha": "^2.3.3",
"nodemon": "^1.7.1",
"rimraf": "^2.4.3",
"should": "^7.1.0",
"supertest": "^1.1.0",
"typescript": "^1.6.2",
"uglifyjs": "^2.4.10",
"watch": "^0.16.0",
"watchify": "^3.4.0"
},
"repository": {
"type": "git",
"url": "."
}
}