mirror of
https://github.com/2234839/web-font.git
synced 2025-04-05 04:02:43 +08:00
78 lines
2.2 KiB
JSON
78 lines
2.2 KiB
JSON
{
|
|
"name": "webfont",
|
|
"version": "0.0.1",
|
|
"description": "",
|
|
"author": "",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"prebuild": "rimraf dist",
|
|
"build": "nest build && parcel build ./static/index.html",
|
|
"build:font": "nest build && parcel build ./static/index.html --public-url /font/",
|
|
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
"start:web": "parcel ./static/index.html",
|
|
"start": "nest start",
|
|
"start:dev": "nest start --watch",
|
|
"start:debug": "nest start --debug --watch",
|
|
"start:prod": "node dist/main",
|
|
"lint": "tslint -p tsconfig.json -c tslint.json",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"test:cov": "jest --coverage",
|
|
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
|
|
"test:e2e": "jest --config ./test/jest-e2e.json"
|
|
},
|
|
"dependencies": {
|
|
"@babel/polyfill": "^7.8.7",
|
|
"@fullhuman/postcss-purgecss": "^2.1.0",
|
|
"@nestjs/common": "^6.7.2",
|
|
"@nestjs/core": "^6.7.2",
|
|
"@nestjs/platform-express": "^6.7.2",
|
|
"@nestjs/serve-static": "^2.1.0",
|
|
"font-spider": "^1.3.5",
|
|
"fontmin": "^0.9.8",
|
|
"parcel-bundler": "^1.12.4",
|
|
"reflect-metadata": "^0.1.13",
|
|
"rimraf": "^3.0.0",
|
|
"rxjs": "^6.5.3",
|
|
"svelte": "^3.20.1",
|
|
"tailwindcss": "^1.2.0",
|
|
"zip-a-folder": "0.0.12",
|
|
"zip-folder": "^1.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@nestjs/cli": "^6.9.0",
|
|
"@nestjs/schematics": "^6.7.0",
|
|
"@nestjs/testing": "^6.7.1",
|
|
"@types/express": "^4.17.1",
|
|
"@types/jest": "^24.0.18",
|
|
"@types/node": "^12.7.5",
|
|
"@types/supertest": "^2.0.8",
|
|
"cssnano": "^4.1.10",
|
|
"jest": "^24.9.0",
|
|
"parcel-plugin-svelte": "^4.0.6",
|
|
"prettier": "^1.18.2",
|
|
"supertest": "^4.0.2",
|
|
"ts-jest": "^24.1.0",
|
|
"ts-loader": "^6.1.1",
|
|
"ts-node": "^8.4.1",
|
|
"tsconfig-paths": "^3.9.0",
|
|
"tslint": "^5.20.0",
|
|
"typescript": "^3.6.3"
|
|
},
|
|
"jest": {
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"json",
|
|
"ts"
|
|
],
|
|
"rootDir": "src",
|
|
"testRegex": ".spec.ts$",
|
|
"transform": {
|
|
"^.+\\.(t|j)s$": "ts-jest"
|
|
},
|
|
"coverageDirectory": "../coverage",
|
|
"testEnvironment": "node"
|
|
},
|
|
"browserslist": "last 10 chrome versions"
|
|
}
|