forked from ain/smartbanner.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 2.54 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
69
70
71
72
73
74
75
{
"name": "smartbanner.js",
"version": "1.15.0",
"description": "Customisable smart app banner for iOS and Android",
"homepage": "https://github.com/ain/smartbanner.js",
"author": {
"name": "Ain Tohvri",
"email": "[email protected]"
},
"main": "dist/smartbanner.js",
"style": "dist/smartbanner.css",
"license": "GPL-3.0",
"bugs": "https://github.com/ain/smartbanner.js/issues",
"dependencies": {},
"devDependencies": {
"@babel/core": "^7.6.2",
"@babel/preset-env": "^7.6.2",
"@babel/register": "^7.6.2",
"add-banner": "github:ain/add-banner#0667ab6",
"autoprefixer": "^9.6.1",
"babelify": "^10.0.0",
"browserify": "^16.5.0",
"chai": "^4.2.0",
"coveralls": "^3.0.6",
"eslint": "^6.4.0",
"http-server": "^0.11.1",
"jsdom": "^15.1.1",
"mocha": "^6.2.0",
"node-sass": "^4.12.0",
"nyc": "^14.1.1",
"postcss-cli": "^6.1.3",
"sass-lint": "^1.13.1",
"uglify-js": "^3.6.0",
"watchify": "^3.11.1"
},
"engines": {
"node": ">=8.11.3 <14.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/ain/smartbanner.js.git"
},
"scripts": {
"bannerise": "add-banner --template banner.tmpl dist/*.*s",
"browserify": "browserify src/index.js -o dist/smartbanner.js -t [ babelify --presets [ @babel/preset-env ] ]",
"uglify": "uglifyjs dist/smartbanner.js -o dist/smartbanner.min.js",
"eslint": "eslint src/*.js",
"sasslint": "sass-lint --config .sass-lint.yml src/smartbanner.scss --verbose",
"build:js": "npm run browserify && npm run uglify",
"build:css": "node-sass src/smartbanner.scss dist/smartbanner.css",
"autoprefix": "postcss --use autoprefixer --local-plugins --replace dist/smartbanner.css",
"build:css-min": "node-sass --output-style=compressed src/smartbanner.scss dist/smartbanner.min.css",
"build": "npm run build:js && npm run build:css && npm run autoprefix && npm run build:css-min && npm run bannerise",
"watch:js": "watchify src/index.js -o dist/smartbanner.js -t [ babelify --presets [ @babel/preset-env ] ] -v",
"watch:css": "npm run build:css | npm run autoprefix -- -w",
"mocha": "mocha --require @babel/register",
"test": "nyc mocha --require @babel/register test/spec/*.js && nyc report --reporter=text-lcov | coveralls",
"test:watch": "npm run test -- -w",
"start": "http-server dist/ -o"
},
"keywords": [
"javascript",
"mobile",
"ios",
"android",
"banner"
],
"files": [
"dist",
"*.md",
"LICENSE",
"package-lock.json",
"package.json"
]
}