-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 loc) · 2.41 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
{
"author": "tknight-dev",
"description": "A connect 5 like game that supports customizable boards and connection sizes. It also can generate game play databases for AI/ML training.",
"license": "MIT",
"name": "connect",
"version": "1.3.0",
"scripts": {
"dev": "rimraf dist && npm run tsc && npm run favicon-dev && concurrently --kill-others \"npm run html-dev\" \"npm run sass-dev\" \"npm run serve-dev\" \"npm run tsc-dev\" \"npm run webpack-dev\" -n HTML,SCSS,HTTP,TS,WEBP --pad-prefix",
"favicon": "copyfiles favicon.ico dist",
"favicon-dev": "copyfiles favicon.ico dist",
"html": "copyfiles -u 1 src/connect.html dist",
"html-dev": "nodemon --quiet --watch src/connect.html -x \"copyfiles -u 1 src/connect.html dist\"",
"html-minify": "html-minifier-terser --collapse-whitespace --remove-comments dist/connect.html --output dist/connect.html",
"lint": "prettier src/. --write",
"prod": "rimraf dist && npm run lint && npm run test && npm run sass && npm run tsc && npm run html && npm run html-minify && npm run webpack && npm run favicon && rimraf dist/working",
"sass": "sass src/connect.scss:dist/connect.css --no-source-map --style compressed",
"sass-dev": "sass src/connect.scss:dist/connect.css --quiet --watch",
"serve": "live-server dist --entry-file=connect.html --port 8080",
"serve-dev": "live-server dist --entry-file=connect.html --port 8080 --quiet --watch=.",
"test": "jest --runInBand --silent true --verbose false",
"test-dev": "jest --config=jest.dev.config.js --runInBand --watchAll",
"tsc": "tsc --project tsconfig.json",
"tsc-dev": "tsc --preserveWatchOutput --project tsconfig.dev.json --watch",
"webpack": "webpack --config webpack.config.js --mode production --output-path ./dist",
"webpack-dev": "webpack --config webpack.config.js --devtool source-map --mode development --output-path ./dist --watch"
},
"devDependencies": {
"@types/jest": "^29.0.0",
"colors": "^1.4.0",
"concurrently": "^9.0.0",
"copyfiles": "^2.0.0",
"file-loader": "^6.0.0",
"html-minifier-terser": "^7.0.0",
"jest": "^29.0.0",
"live-server": "^1.0.0",
"nodemon": "^3.0.0",
"prettier": "^3.0.0",
"rimraf": "^6.0.0",
"sass": "^1.0.0",
"terser": "^5.0.0",
"ts-jest": "^29.0.0",
"typescript": "^5.0.0",
"webpack": "^5.0.0",
"webpack-cli": "^5.0.0"
},
"dependencies": {
"copy-to-clipboard": "^3.3.3"
}
}