forked from mojira/helper-messages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
36 lines (36 loc) · 1.33 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
{
"name": "helper-messages",
"version": "1.0.0",
"description": "Mojira Helper Message application for use by bug tracker moderators and helpers.",
"main": "index.js",
"private": true,
"scripts": {
"build:css": "copyfiles -u 4 \"node_modules/bootstrap/dist/css/bootstrap.min.css\" \"assets/css/\"",
"build:messages": "node -e \"fs.writeFileSync(path.join(__dirname, 'assets/js/messages.json'), JSON.stringify(require('yaml').parse(fs.readFileSync(path.join(__dirname, 'assets/messages.yml'), 'utf8'))))\"",
"build:js": "browserify assets/js/index.js | terser > dist/bundle.js",
"build": "npm run build:css && npm run build:messages && copyfiles index.html favicon.ico assets/**/*.* dist && npm run build:js",
"test:messages": "ajv validate -s messages_schema.json -d assets/js/messages.json",
"test": "npm run test:messages"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mojira/helper-messages.git"
},
"author": "Bemoty",
"license": "MIT",
"bugs": {
"url": "https://github.com/mojira/helper-messages/issues"
},
"devDependencies": {
"ajv-cli": "^3.3.0",
"copyfiles": "^2.3.0",
"terser-webpack-plugin": "^4.1.0",
"yaml": "^1.10.0",
"browserify": "^16.5.2"
},
"dependencies": {
"bootstrap": "^4.5.2",
"jquery": "^3.5.1",
"popper.js": "^1.16.1"
}
}