UNPKG

4.03 kBJSONView Raw
1{
2 "name": "onsenui",
3 "version": "2.12.2",
4 "description": "HTML5 Mobile Framework & UI Components",
5 "private": false,
6 "scripts": {
7 "build": "npm run build:umd && npm run build:css",
8 "build:umd": "rollup --config && uglifyjs js/onsenui.js -c -m --comments '/onsenui v/' --output js/onsenui.min.js",
9 "build:css": "npm run build:css:lint && npm run build:css:core && npm run build:css:components && npm run build:css:minify",
10 "build:css:minify": "cleancss 'css/onsenui?(-core).css' --batch --batch-suffix '.min' --inline none && cleancss --batch 'css/{,*-}onsen-css-components.css' --batch-suffix '.min'",
11 "build:css:core": "postcss css/src/onsenui.css css/src/onsenui-core.css --dir css",
12 "build:css:components": "postcss css/css-components-src/{*-,}onsen-css-components.css --base css/css-components-src --dir css",
13 "build:css:lint": "stylelint 'css/?(css-components-)src/**/*.css'",
14 "clean": "rimraf ./js './css/onsenui?(-core)?(.min).css' './css/{*-,}onsen-css-components?(.min).css' 'esm/core-dts-test.{js,ts}'",
15 "docs": "node scripts/build-docs.js",
16 "lint": "eslint esm",
17 "prebuild": "npm run clean",
18 "serve": "rollup --config --watch & browser-sync start --config bs-config.js",
19 "test": "npm run test:core-dts && npm run test:unit",
20 "test:unit": "node scripts/unit-test.js",
21 "test:core-dts": "node scripts/core-dts-test.js"
22 },
23 "main": "js/onsenui.js",
24 "module": "esm/index.js",
25 "typings": "esm/onsenui.d.ts",
26 "files": [
27 "esm",
28 "!esm/{index.umd.js,**/*.spec.js}",
29 "css",
30 "!css/src",
31 "js"
32 ],
33 "repository": {
34 "type": "git",
35 "url": "https://github.com/OnsenUI/OnsenUI"
36 },
37 "license": "Apache-2.0",
38 "bugs": {
39 "url": "https://github.com/OnsenUI/OnsenUI/issues"
40 },
41 "keywords": [
42 "phonegap",
43 "cordova",
44 "web-components",
45 "react",
46 "components",
47 "angular",
48 "vue",
49 "hybrid",
50 "app",
51 "ui",
52 "mobile",
53 "onsen",
54 "onsenui"
55 ],
56 "homepage": "https://onsen.io/",
57 "browserslist": [
58 "> 1%",
59 "iOS >= 8.0",
60 "Android >= 4.4",
61 "Chrome >= 30",
62 "Safari >= 9",
63 "Firefox ESR",
64 "Opera 12.1"
65 ],
66 "babel": {
67 "presets": [
68 [
69 "@babel/preset-env",
70 {
71 "modules": false
72 }
73 ]
74 ]
75 },
76 "engines": {
77 "node": ">= 4.0.0"
78 },
79 "devDependencies": {
80 "@babel/core": "^7.15.0",
81 "@babel/preset-env": "^7.15.0",
82 "@rollup/plugin-babel": "^5.3.0",
83 "@rollup/plugin-eslint": "^8.0.1",
84 "@types/node": "^14.14.11",
85 "ansi-colors": "^4.1.1",
86 "babel-eslint": "^8.2.6",
87 "babel-plugin-angularjs-annotate": "^0.8.2",
88 "browser-sync": "^2.26.13",
89 "chai": "^3.4.1",
90 "chai-as-promised": "^5.2.0",
91 "chai-spies": "^1.0.0",
92 "clean-css-cli": "^5.3.3",
93 "dateformat": "^3.0.3",
94 "eslint": "^7.32.0",
95 "eslint-plugin-import": "^2.23.4",
96 "fancy-log": "^1.3.3",
97 "glob": "^7.1.6",
98 "jsonschema": "^1.4.0",
99 "karma": "^6.3.9",
100 "karma-chai": "^0.1.0",
101 "karma-chai-as-promised": "^0.1.2",
102 "karma-chai-spies": "^0.1.4",
103 "karma-chrome-launcher": "^2.2.0",
104 "karma-coverage": "^2.2.0",
105 "karma-junit-reporter": "^1.2.0",
106 "karma-mocha": "^2.0.1",
107 "karma-rollup-preprocessor": "^7.0.7",
108 "karma-safari-launcher": "^1.0.0",
109 "karma-sauce-launcher": "^4.3.6",
110 "merge-stream": "^1.0.1",
111 "mkpath": "^1.0.0",
112 "mocha": "^4.1.0",
113 "postcss": "^8.3.6",
114 "postcss-cli": "^8.3.1",
115 "postcss-import": "^14.0.2",
116 "postcss-preset-env": "^6.7.0",
117 "postcss-reporter": "^7.0.2",
118 "rimraf": "^3.0.2",
119 "rollup": "^2.56.2",
120 "rollup-plugin-commonjs": "^8.4.1",
121 "rollup-plugin-execute": "^1.1.1",
122 "rollup-plugin-filesize": "^1.5.0",
123 "rollup-plugin-node-resolve": "^3.4.0",
124 "rollup-plugin-progress": "^1.1.2",
125 "rollup-plugin-visualizer": "^0.3.1",
126 "stylelint": "^13.8.0",
127 "typescript": "^3.9.7",
128 "uglify-js": "^3.12.1",
129 "wcdoc": "0.1.19",
130 "webdriverio": "^6.10.5"
131 }
132}