-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
68 lines (68 loc) · 2.63 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
{
"name": "tweak-ui",
"version": "0.4.3",
"main": "dist/tweak-ui.umd.js",
"module": "dist/tweak-ui.module.js",
"typings": "dist/lib/index.d.ts",
"files": ["dist"],
"author": "Alexander Gräfenstein",
"license": "MIT",
"description": "Tweak UI - a lightweight js library for building input controls with data binding",
"scripts": {
"clear": "rm -rf ./dist",
"build": "yarn clear && yarn build:scss && yarn build:scss:min && yarn build:rollup && yarn build:demo && yarn copy",
"watch": "yarn watch:scss & yarn watch:rollup & yarn watch:demo",
"copy": "yarn copy:scss",
"watch:dev": "yarn watch:scss & yarn watch:rollup:dev & yarn watch:demo",
"build:rollup": "rollup -c rollup.config.js",
"build:api": "api-extractor run --local --verbose",
"build:docs": "api-documenter markdown -i temp -o docs",
"build:demo": "pug -O src/page/pug.js -o dist src/page/index.pug",
"build:scss": "sass src/style/index.scss dist/tweak-ui.css",
"build:scss:min": "sass src/style/index.scss dist/tweak-ui.min.css --style=compressed",
"watch:scss": "sass --watch src/style/index.scss dist/tweak-ui.css",
"watch:rollup": "rollup -w -c rollup.config.js",
"watch:rollup:dev": "rollup -w -c rollup.umd.js",
"watch:demo": "yarn build:demo -w",
"copy:scss": "cp -R ./src/style ./dist/scss",
"release": "npm run build && npm publish --access=public",
"test": "karma start --single-run",
"test:watch": "karma start --no-single-run --auto-watch",
"test:coverage": "IS_COVERAGE=yes karma start --single-run",
"serve": "browser-sync start -c browser-sync.json",
"dev": "yarn watch:dev & yarn serve"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.12.12",
"@microsoft/api-extractor": "^7.13.2",
"@types/jasmine": "^3.6.6",
"@types/mithril": "^2.0.6",
"browser-sync": "^2.26.14",
"gulp-plumber": "^1.2.1",
"jasmine": "^3.6.4",
"karma": "^6.2.0",
"karma-chrome-launcher": "^3.1.0",
"karma-firefox-launcher": "^2.1.0",
"karma-jasmine": "^4.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-typescript": "^5.5.0",
"pug": "^3.0.2",
"pug-cli": "^1.0.0-alpha6",
"rollup": "^2.41.2",
"rollup-plugin-alias": "^2.2.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.30.0",
"rollup-watch": "^4.3.1",
"sass": "^1.32.8",
"tslib": "^2.1.0",
"tslint": "^6.1.3",
"typescript": "^4.2.3"
},
"dependencies": {
"mithril": "^2.0.4"
}
}