-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 3.77 KB
/
package.json
File metadata and controls
96 lines (96 loc) · 3.77 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "bryanyuan2.github.io",
"version": "1.0.0",
"description": "bryanyuan2 Curriculum Vitae",
"main": "index.html",
"scripts": {
"clean": "rimraf ./src/build/*.js",
"eslint": "eslint './src/app/**/*.tsx' './test/app/**/*.tsx'",
"eslint-fix": "eslint './src/app/**/*.tsx' './test/app/**/*.tsx' --fix",
"jsonlint:data": "jsonlint-cli './asserts/data/*.json'",
"jsonlint:mockdata": "jsonlint-cli './test/app/mock/data/*.json'",
"test": "jest --config jest.config.ts",
"test-cov": "jest --config jest.config.ts --coverage",
"build:css": "sass ./asserts/css/src/app.scss ./asserts/css/min/app.min.css --style compressed",
"connect": "live-server --port=3000 --watch=./ --no-browser",
"watch:dev": "nodemon --watch './index.html' --watch './asserts/css/src/*.scss' --watch './src/app/**/*.js' --exec \"npm run build:dev:ts && npm run build:css\"",
"build:dev:ts": "NODE_ENV=development browserify ./src/app/app.tsx -t [ babelify --extensions .tsx ] -o ./src/build/bundle.js",
"build:prod:ts": "NODE_ENV=production browserify ./src/app/app.tsx -t [ babelify --extensions .tsx ] -o ./src/build/bundle.js && uglifyjs ./src/build/bundle.js -c -m -o ./src/build/bundle.js",
"start:dev": "npm run jsonlint:data && npm run build:css && npm run build:dev:ts && npm run connect && npm run watch:dev",
"start:prod": "npm run jsonlint:data && npm run build:css && npm run build:prod:ts && npm run connect",
"docker:build": "docker build -t bryanyuan2-cv .",
"docker:run": "docker run -p 8080:80 bryanyuan2-cv",
"docker:start": "./start-docker.sh",
"docker:up": "docker-compose up -d",
"docker:down": "docker-compose down",
"docker:logs": "docker-compose logs"
},
"repository": {
"type": "git",
"url": "https://github.com/bryanyuan2/bryanyuan2.github.com"
},
"author": {
"name": "Chun-Yuan (Bryan) Cheng",
"email": "bryanyuan2@gmail.com",
"url": "https://bryanyuan2.github.io"
},
"jest": "./jest.config.ts",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.28.3",
"@babel/eslint-parser": "^7.28.0",
"@babel/preset-env": "^7.28.3",
"@babel/preset-react": "^7.27.1",
"@babel/preset-typescript": "^7.27.1",
"@testing-library/jest-dom": "^6.8.0",
"@testing-library/react": "^16.3.0",
"@types/chai": "^5.2.2",
"@types/jest": "^30.0.0",
"@types/lodash": "^4.17.20",
"@types/react": "^19.1.12",
"@types/react-dom": "^19.1.8",
"@types/react-test-renderer": "^19.1.0",
"@typescript-eslint/eslint-plugin": "^8.41.0",
"@typescript-eslint/parser": "^8.41.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^10.0.0",
"babel-preset-react": "^6.24.1",
"babelify": "^10.0.0",
"browserify": "^16.5.2",
"chai": "^4.2.0",
"depcheck": "^1.4.7",
"eslint": "^8.57.1",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-chai-friendly": "^1.1.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-typescript": "^0.14.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^30.1.1",
"jsonlint-cli": "^1.0.1",
"live-server": "^1.2.2",
"prettier": "^3.6.2",
"rimraf": "^6.0.1",
"sass": "^1.90.0",
"ts-jest": "^29.4.1",
"ts-node": "^10.9.2",
"typescript": "^5.9.2",
"typescript-eslint": "^8.41.0",
"typescript-eslint-parser": "^21.0.2",
"uglifyjs": "^2.4.11",
"whatwg-fetch": "^3.6.20"
},
"dependencies": {
"envify": "^4.1.0",
"jquery": "^3.7.1",
"lightbox2": "^2.11.5",
"lodash": "^4.17.15",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0"
}
}