-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
44 lines (44 loc) · 1.6 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
{
"name": "mithril-browserify-ts-budo",
"version": "1.0.1",
"description": "Mithril / Typescript / Browserify / HMR / Budo",
"main": "index.js",
"scripts": {
"compile:ts": "browserify --debug src/index.ts -p [ tsify --project src/tsconfig.json ] -o public/js/app.js",
"compile:pcss": "postcss src/index.pcss -o public/css/app.css",
"watch:pcss": "postcss src/index.pcss --watch -o public/css/app.css",
"build:pcss": "postcss src/index.pcss --env production -o public/css/app.css",
"build:ts": "browserify src/index.ts -p [ tsify --project src/tsconfig.json ] | uglifyjs -cm -o public/js/app.js",
"clean:ts": "rm -f public/js/app.js",
"clean:pcss": "rm -f public/css/app.css",
"compile": "run-s compile:*",
"build": "run-s build:*",
"clean": "run-s clean:*",
"serve": "budo src/index.ts:js/app.js -p 3000 --dir public --live=*.{html,css} -- --debug -p [ browserify-hmr ] -p [ tsify --project src/tsconfig.json ]",
"start": "run-p watch:* serve"
},
"keywords": [],
"author": "spacejack",
"license": "MIT",
"dependencies": {
"mithril": "^2.0.4"
},
"devDependencies": {
"@types/mithril": "^2.0.3",
"autoprefixer": "^9.8.6",
"browserify": "^16.5.2",
"browserify-hmr": "^0.4.1",
"budo": "^11.6.4",
"npm-run-all": "^4.1.5",
"postcss-clean": "^1.1.0",
"postcss-cli": "^7.1.1",
"postcss-custom-properties": "^9.1.1",
"postcss-import": "^12.0.1",
"postcss-nesting": "^7.0.1",
"stylelint-config-recommended": "^3.0.0",
"tsify": "^4.0.1",
"tslint": "^6.1.3",
"typescript": "^3.9.7",
"uglify-js": "^3.10.1"
}
}