1 | {
|
2 | "name": "runna",
|
3 | "version": "2.0.0",
|
4 | "description": "Runna - process based task runner for Node",
|
5 | "main": "index.js",
|
6 | "repository": {
|
7 | "type": "git",
|
8 | "url": "https://github.com/gavoja/runna.git"
|
9 | },
|
10 | "keywords": [
|
11 | "node",
|
12 | "npm",
|
13 | "process",
|
14 | "task",
|
15 | "runner"
|
16 | ],
|
17 | "author": "Michal Kochel",
|
18 | "license": "MIT",
|
19 | "bin": {
|
20 | "runna": "./bin/runna"
|
21 | },
|
22 | "dependencies": {
|
23 | "chalk": "^2.4.1",
|
24 | "micromatch": "^3.1.10",
|
25 | "simple-watcher": "^3.0.0",
|
26 | "subarg": "^1.0.0"
|
27 | },
|
28 | "devDependencies": {
|
29 | "babel": "^6.23.0",
|
30 | "babel-core": "^6.26.3",
|
31 | "babel-preset-env": "^1.6.1",
|
32 | "babelify": "^8.0.0",
|
33 | "browserify": "^16.2.0",
|
34 | "runna-webserver": "^0.1.2"
|
35 | },
|
36 | "scripts": {
|
37 | "clean": "rimraf ./test/dist",
|
38 | "create-dirs": "mkdirp ./test/dist/$FLV",
|
39 | "build:css": "postcss --use autoprefixer -o ./test/dist/$FLV/index.css ./test/src/$FLV/index.css",
|
40 | "build:css::red": "postcss --use autoprefixer -o ./test/dist/red/index.css ./test/src/red/index.css",
|
41 | "build:css::blue": "postcss --use autoprefixer -o ./test/dist/blue/index.css ./test/src/blue/index.css",
|
42 | "build:js": "browserify ./test/src/$FLV/index.js -o ./test/dist/$FLV/index.js -t [ babelify --presets [ babel-preset-env ] ]",
|
43 | "build:js::red": "browserify ./test/src/red/index.js -o ./test/dist/red/index.js -t [ babelify --presets [ babel-preset-env ] ]",
|
44 | "build:js::blue": "browserify ./test/src/blue/index.js -o ./test/dist/blue/index.js -t [ babelify --presets [ babel-preset-env ] ]",
|
45 | "build:html": "copyfiles --flat ./test/src/base/index.html ./test/dist/$FLV",
|
46 | "break:log": "node ./test/tester.js --error-log",
|
47 | "break:throw": "node ./test/tester.js --error-throw",
|
48 | "break:exit": "node ./test/tester.js --error-exit",
|
49 | "serve": "runna-webserver -w ./test/dist",
|
50 | "serve:stop": "runna-webserver -x",
|
51 | "serve:reload": "runna-webserver -r",
|
52 | "build": "node index.js [ clean - create-dirs - build:html build:css build:js ] -f blue,red",
|
53 | "build:break:log": "node index.js [ clean - create-dirs - build:html build:css build:js break:log ] -f blue,red",
|
54 | "build:break:throw": "node index.js [ clean - create-dirs - build:html build:css build:js break:throw ] -f blue,red",
|
55 | "build:break:exit": "node index.js [ clean - create-dirs - build:html build:css build:js break:exit ] -f blue,red",
|
56 | "dev": "node index.js [ +serve clean - create-dirs - build:html build:css build:js - serve:reload ] -w .. -f blue,red"
|
57 | },
|
58 | "observe": {
|
59 | "build:js - serve:reload": [
|
60 | "runna/test/src/base/*.js",
|
61 | "runna/test/src/$FLV/*.js"
|
62 | ],
|
63 | "build:css - serve:reload": [
|
64 | "runna/test/src/$FLV/*.css"
|
65 | ],
|
66 | "build:html - serve:reload": [
|
67 | "runna/test/src/base/*.html"
|
68 | ]
|
69 | }
|
70 | }
|