-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathpackage.json
83 lines (83 loc) · 2.76 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
76
77
78
79
80
81
82
83
{
"name": "crosswords-js",
"version": "0.1.14",
"description": "Tiny, lightweight crosswords for HTML5/JS/CSS.",
"main": "dist/crosswords.js",
"files": [
"data",
"dist",
"src",
"style"
],
"type": "module",
"dependencies": {
"js-yaml": "^4.1.0"
},
"devDependencies": {
"chai": "^4.3.7",
"cspell": "^6.30.2",
"eslint": "^8.33.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^5.0.0",
"esm": "^3.2.25",
"ignore-styles": "^5.0.1",
"less": "^4.1.3",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"prettier": "^3.0.0",
"vite": "^4.2.1"
},
"scripts": {
"build": "vite build",
"cssgrid": "vite serve test",
"dev:build": "bin/build-dev.sh",
"dev:preview": "vite build dev && vite preview dev",
"dev": "vite serve dev",
"lint:fix": "eslint --fix *.{js,mjs} src/**/*.{js,mjs} {test,dev}/*.{js,mjs} sample*/*.{js,mjs}",
"lint": "eslint *.{js,mjs} src/**/*.{js,mjs} {test,dev}/*.{js,mjs} sample/*.{js,mjs}",
"prettier:fix": "prettier --write *.{html,js,json,md,mjs} docs/*.{html,js,json,md,mjs} src/**/*.{html,js,json,md,mjs} {dev,test}/*.{css,html,js,json,less,md,mjs} sample/*.{html,js,json,md,mjs} style/*.less data/*.{json,yml}",
"prettier": "prettier --check *.{html,js,json,md,mjs} docs/*.{html,js,json,md,mjs} sample/*.{html,js,json,md,mjs} {dev,test}/*.{css,html,js,json,less,md,mjs} style/*.less data/*.{json,yml}",
"qa:install": "bin/install-githook.sh",
"spell:all": "cspell *.{html,js,md,mjs} docs/**/*.{html,js,json,md,mjs} src/**/*.{html,js,json,md,mjs} {dev,test}/*.{html,js,json,md,mjs} sample/*.{html,js,json,md,mjs} style/*.less",
"spell:changed": "git diff --staged --diff-filter=AMU --name-only | npx cspell --no-summary --no-progress --no-must-find-files --file-list stdin",
"spell": "git diff --staged --diff-filter=AM --name-only | npx cspell --no-summary --no-progress --no-must-find-files --file-list stdin",
"start": "vite serve dev",
"test:cov": "nyc mocha",
"test:debug": "mocha --inspect-brk -w",
"test": "mocha",
"update": "bin/update-package.sh"
},
"keywords": [
"crossword"
],
"author": "Dave Kerr",
"license": "MIT",
"directories": {
"doc": "docs",
"test": "test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dwmkerr/crosswords-js.git"
},
"bugs": {
"url": "https://github.com/dwmkerr/crosswords-js/issues"
},
"homepage": "https://github.com/dwmkerr/crosswords-js#readme",
"nyc": {
"all": true,
"include": [
"src/**/*.{js,mjs}"
],
"exclude": [
"src/**/*.specs.{js,mjs}"
],
"reporter": [
"text",
"html",
"lcov"
],
"report-dir": "./artifacts/coverage"
}
}