-
-
Notifications
You must be signed in to change notification settings - Fork 178
/
package.json
73 lines (73 loc) · 2.38 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
{
"name": "smartbanner.js",
"version": "1.25.0",
"description": "Customisable smart app banner for iOS and Android",
"homepage": "https://github.com/ain/smartbanner.js#readme",
"author": {
"name": "Ain Tohvri",
"email": "[email protected]"
},
"funding": {
"url": "https://github.com/sponsors/ain"
},
"main": "dist/smartbanner.js",
"style": "dist/smartbanner.css",
"license": "GPL-3.0",
"bugs": "https://github.com/ain/smartbanner.js/issues",
"devDependencies": {
"@babel/core": "^7.6.2",
"@babel/preset-env": "^7.6.2",
"@babel/register": "^7.6.2",
"add-banner": "ain/add-banner#0667ab6",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"chai": "^4.2.0",
"coveralls": "^3.1.0",
"eslint": "^9.0.0",
"jsdom": "^25.0.0",
"local-web-server": "^5.1.0",
"mocha": "^11.0.1",
"sass": "^1.32.11",
"uglify-js": "^3.6.0",
"watchify": "^4.0.0",
"c8": "^10.1.2"
},
"engines": {
"node": ">=10.24.1 <24.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/ain/smartbanner.js.git"
},
"scripts": {
"bannerise": "add-banner --template banner.tmpl dist/smartbanner.css dist/smartbanner.js dist/smartbanner.min.css dist/smartbanner.min.js",
"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",
"build:js": "npm run browserify && npm run uglify",
"build:css": "sass src/smartbanner.scss dist/smartbanner.css",
"build:css-min": "sass --style=compressed src/smartbanner.scss dist/smartbanner.min.css",
"build": "npm run build:js && npm run build:css && 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": "c8 mocha --require @babel/register test/spec/*.js && c8 report --reporter=lcovonly",
"test:watch": "npm run test -- -w",
"start": "ws --directory dist/ --port=8080 --log.format dev"
},
"keywords": [
"javascript",
"mobile",
"ios",
"android",
"banner"
],
"files": [
"dist",
"*.md",
"LICENSE",
"package-lock.json",
"package.json",
"src"
]
}