-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 3.25 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
{
"name": "freddy",
"version": "0.3.0",
"description": "Freddy - A fast mobile Reddit reader",
"author": "spacejack",
"license": "CC-BY-NC-4.0",
"repository": {
"type": "git",
"url": "https://github.com/spacejack/freddy"
},
"scripts": {
"compile-ts": "browserify --debug src/ts/main.ts -p [ tsify --project src/ts/tsconfig.json ] -o public/freddy.js",
"build-ts": "browserify src/ts/main.ts -p [ tsify --project src/ts/tsconfig.json ] | uglifyjs -cm -o public/freddy.js",
"compile-pcss": "postcss src/pcss/index.pcss --use postcss-import postcss-custom-properties postcss-color-function postcss-nesting autoprefixer -o public/freddy.css",
"compile-pcss-theme-dark": "postcss src/pcss/themes/dark/index.pcss --use postcss-import postcss-custom-properties postcss-color-function postcss-nesting autoprefixer -o public/themes/dark.css",
"compile-pcss-theme-light": "postcss src/pcss/themes/light/index.pcss --use postcss-import postcss-custom-properties postcss-color-function postcss-nesting autoprefixer -o public/themes/light.css",
"watch-pcss": "postcss src/pcss/index.pcss --watch --use postcss-import postcss-custom-properties postcss-color-function postcss-nesting autoprefixer -o public/freddy.css",
"watch-pcss-theme-light": "postcss src/pcss/themes/light/index.pcss --watch --use postcss-import postcss-custom-properties postcss-color-function postcss-nesting autoprefixer -o public/themes/light.css",
"build-pcss": "postcss src/pcss/index.pcss --no-map --use postcss-import postcss-custom-properties postcss-color-function postcss-nesting autoprefixer postcss-clean -o public/freddy.css",
"build-pcss-theme-dark": "postcss src/pcss/themes/dark/index.pcss --no-map --use postcss-import postcss-custom-properties postcss-color-function postcss-nesting autoprefixer postcss-clean -o public/themes/dark.css",
"build-pcss-theme-light": "postcss src/pcss/themes/light/index.pcss --no-map --use postcss-import postcss-custom-properties postcss-color-function postcss-nesting autoprefixer postcss-clean -o public/themes/light.css",
"compile": "npm-run-all compile-ts compile-pcss compile-pcss-theme-dark compile-pcss-theme-light",
"build": "npm-run-all build-ts build-pcss build-pcss-theme-dark build-pcss-theme-light",
"dist": "npm run build && node scripts/dist",
"clean": "rm -f public/freddy.js public/freddy.css public/themes/*.css && rm -fr dist",
"serve": "budo src/ts/main.ts:freddy.js -p 3000 --dir public --live=*.{html,css} -- --debug -p [ browserify-hmr ] -p [ tsify --project src/ts/tsconfig.json ]",
"start": "npm-run-all -p compile-pcss-theme-dark compile-pcss-theme-light watch-pcss serve"
},
"devDependencies": {
"@types/fastclick": "^1.0.28",
"@types/mithril": "^1.1.12",
"autoprefixer": "^8.5.0",
"browserify": "^16.2.2",
"browserify-hmr": "^0.3.6",
"budo": "^11.2.2",
"npm-run-all": "^4.1.3",
"postcss-clean": "^1.1.0",
"postcss-cli": "^5.0.0",
"postcss-color-function": "^4.0.1",
"postcss-custom-properties": "^7.0.0",
"postcss-import": "^11.1.0",
"postcss-nesting": "^5.0.0",
"tsify": "^4.0.0",
"tslint": "4.5.1",
"typescript": "^2.8.3",
"uglify-js": "^3.3.27"
},
"dependencies": {
"fastclick": "^1.0.6",
"mithril": "^1.1.6"
}
}