-
-
Notifications
You must be signed in to change notification settings - Fork 174
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 2.3 KB
/
Copy pathpackage.json
File metadata and controls
71 lines (71 loc) · 2.3 KB
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
{
"name": "smartbanner.js",
"version": "1.30.0",
"type": "module",
"description": "Customisable smart app banner for iOS and Android",
"homepage": "https://github.com/ain/smartbanner.js#readme",
"author": {
"name": "Ain Tohvri",
"email": "ain@flashbit.net"
},
"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": {
"add-banner": "ain/add-banner#0667ab6",
"c8": "^12.0.0",
"chai": "^6.0.1",
"concurrently": "^10.0.0",
"coveralls": "^3.1.0",
"esbuild": "^0.28.0",
"eslint": "^10.0.0",
"jsdom": "^30.0.1",
"local-web-server": "^5.1.0",
"mocha": "^11.0.1",
"sass": "^1.32.11"
},
"overrides": {
"yargs": "^18.0.0"
},
"engines": {
"node": ">=22.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",
"eslint": "eslint src/*.js",
"prebuild": "npm run build:js && npm run build:css",
"build:js": "esbuild src/index.js --bundle --target=es2015 --outfile=dist/smartbanner.js",
"build:js-min": "esbuild src/index.js --bundle --target=es2015 --minify --outfile=dist/smartbanner.min.js",
"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-min && npm run build:css-min && npm run bannerise",
"watch:js": "esbuild src/index.js --bundle --target=es2015 --outfile=dist/smartbanner.js --watch",
"watch:css": "sass --watch src/smartbanner.scss:dist/smartbanner.css",
"test": "c8 mocha test/spec/*.js && c8 report --reporter=lcovonly",
"test:watch": "npm run test -- -w",
"start": "npm run prebuild && concurrently \"npm run watch:js\" \"npm run watch:css\" \"ws --directory dist/ --port=8080 --log.format dev\""
},
"keywords": [
"javascript",
"mobile",
"ios",
"android",
"banner"
],
"files": [
"dist",
"*.md",
"LICENSE",
"package-lock.json",
"package.json",
"src"
]
}