-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
53 lines (53 loc) · 1.87 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
{
"name": "tiny-rendering-engine",
"version": "1.0.0",
"description": "从零开始实现一个玩具版浏览器渲染引擎",
"main": "dist/render-engine.js",
"module": "dist/render-engine.mjs",
"types": "dist/index.d.ts",
"scripts": {
"prepare": "husky install",
"dev": "rimraf dist && rollup --config rollup.config.ts --configPlugin typescript --environment NODE_ENV:development",
"build": "rimraf dist && rollup --config rollup.config.ts --configPlugin typescript && npm run type-generate",
"type-generate": "tsc -p ./tsconfig.build.json && api-extractor run --config=./api-extractor.json && rimraf temp && node scripts/copyDTS.mjs",
"test": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js -c=jest.config.js --no-cache",
"lint": "eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"type-check": "tsc --noEmit"
},
"lint-staged": {
"src/**/*.{ts,js}": [
"eslint --fix",
"git add"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/woai3c/tiny-rendering-engine.git"
},
"bugs": {
"url": "https://github.com/woai3c/tiny-rendering-engine/issues"
},
"homepage": "https://github.com/woai3c/tiny-rendering-engine#readme",
"devDependencies": {
"@microsoft/api-extractor": "^7.36.4",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-json": "^5.0.2",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-typescript": "^11.1.3",
"@types/jest": "^29.5.4",
"@types/node": "^18.17.12",
"chalk": "^5.3.0",
"eslint": "^8.48.0",
"eslint-config-airbnb-vue3-ts": "^0.2.4",
"husky": "^8.0.3",
"jest": "^29.6.4",
"lint-staged": "^13.3.0",
"rimraf": "^6.0.1",
"rollup": "^3.28.1",
"ts-jest": "^29.2.4",
"typescript": "^5.5.4"
},
"dependencies": {
"canvas": "^2.11.2"
}
}