-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
46 lines (39 loc) · 1.73 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
{
"name": "angular-seed-lesscoffee",
"private": true,
"version": "0.0.0",
"description": "A starter project for AngularJS with coffeescript and less",
"repository": "https://github.com/todayispotato/angular-seed-lesscoffee",
"license": "MIT",
"devDependencies": {
"karma": "~0.10",
"coffee-script": "^1.9.0",
"less": "^2.4.0",
"catw": "^0.2.0",
"protractor": "^1.1.1",
"http-server": "^0.6.1",
"bower": "^1.3.1",
"shelljs": "^0.2.6",
"karma-junit-reporter": "^0.2.2"
},
"scripts": {
"postinstall": "bower install && npm run compile",
"prestart": "npm install",
"start": "npm run watch & http-server app -a localhost -p 8000 -c-1",
"watch-coffee": "mkdir -p app/dist/js && coffee --watch --compile --output app/dist/js/ src/coffee",
"watch-less": "mkdir -p app/dist/css && catw -c 'lessc -' 'src/less/*.less' -o app/dist/css/bundle.css -v",
"watch": "npm run watch-coffee & npm run watch-less",
"compile-coffee": "mkdir -p app/dist/js && coffee --compile --output app/dist/js/ src/coffee",
"compile-less": "mkdir -p app/dist/css && lessc src/less/*.less app/dist/css/bundle.css",
"compile": "npm run compile-coffee && npm run compile-less",
"clean": "rm -rf app/vendor && rm -rf node_modules && find app -name '*.js' -o -name '*.css' -type f | xargs rm -f",
"pretest": "npm install && npm run compile",
"test": "karma start karma.conf.js",
"pretest-single-run": "npm run pretest",
"test-single-run": "karma start karma.conf.js --single-run",
"preupdate-webdriver": "npm install",
"update-webdriver": "webdriver-manager update",
"preprotractor": "npm run update-webdriver",
"protractor": "protractor e2e-tests/protractor.conf.js"
}
}