generated from mlibrary/ruby-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
44 lines (44 loc) · 1.52 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
{
"name": "search.application",
"version": "1.0.0",
"description": "Boilerplate code for starting a ruby project with docker / docker-compose",
"main": "index.js",
"type": "module",
"directories": {
"lib": "lib"
},
"scripts": {
"build": "npm run build:css && npm run build:js",
"build:css": "sass $* assets/styles:public/styles --style=compressed",
"build:js": "npm run lint && npx esbuild \"assets/scripts/**/scripts.js\" --entry-names=[dir]/[name] --outbase=assets/scripts --bundle --minify --outdir=public/scripts $*",
"lint": "npx eslint eslint.config.js assets/scripts/ test/ $*",
"lint:fix": "npm run lint -- --fix",
"test": "npm run test:mocha && npm run test:rspec",
"test:mocha": "npm run lint && npx mocha --require ./test/setup.js --recursive",
"test:rspec": "bundle exec rspec",
"watch:css": "npm run build:css -- --watch",
"watch:js": "npm run build:js -- --watch=forever"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mlibrary/search.application.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/mlibrary/search.application/issues"
},
"homepage": "https://github.com/mlibrary/search.application#readme",
"devDependencies": {
"@eslint/js": "^9.19.0",
"@stylistic/eslint-plugin": "^3.0.1",
"chai": "^5.1.2",
"esbuild": "^0.24.2",
"eslint": "^9.19.0",
"eslint-plugin-mocha": "^10.5.0",
"globals": "^15.14.0",
"jsdom": "^26.0.0",
"mocha": "^11.1.0",
"sass": "^1.83.4"
}
}