加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 4.65 KB
一键复制 编辑 原始数据 按行查看 历史
june 提交于 2020-12-10 16:07 . chore(release): release 10.1.0 (#76)
{
"name": "devui-components",
"version": "0.0.0-not-used",
"license": "MIT",
"description": "DevUI components based on Angular",
"engineStrict": true,
"engines": {
"node": ">=10.9.0"
},
"scripts": {
"ng": "ng",
"start": "node --max_old_space_size=8192 ./node_modules/@angular/cli/bin/ng serve --open --configuration es5",
"start-es6": "node --max_old_space_size=8192 ./node_modules/@angular/cli/bin/ng serve --open",
"build": "ng build --prod --deploy-url components/",
"build:separate": "npm run build:devui && ng build --prod --deploy-url components/ --configuration separate && npm run postbuild",
"test": "ng test",
"test:lib": "ng test devui-lib --no-watch --no-progress --browsers=ChromeHeadlessCI",
"lint": "ng lint",
"e2e": "ng e2e",
"postinstall": "patch-package && ngcc --tsconfig tsconfig.base.json",
"lint:devui": "tslint -p devui/tsconfig.lint.json -c devui/tslint.json \"devui/**/*.ts\"",
"lint:devui:fix": "tslint --fix -p devui/tsconfig.lint.json -c devui/tslint.json \"*.ts\"",
"prettier": "prettier --config ./.prettierrc --write \"{devui,src}/**/*.html\"",
"stylelint": "stylelint \"{devui,src}/**/*.{scss,css}\" --fix",
"build:devui": "node --max_old_space_size=8192 ./node_modules/@angular/cli/bin/ng build devui-lib --configuration production",
"postbuild": "node scripts/move-assets.js",
"postbuild:devui": "node scripts/copy-artifacts.js && npm run css-compile && npm run css-minify",
"css-compile": "node-sass --output-style expanded --precision 6 --importer scripts/node-sass.importer.js ./devui/style/devui.scss ./publish/devui.css",
"css-minify": "cleancss --format breakWith=lf --output ./publish/devui.min.css ./publish/devui.css",
"build:devui:ivy": "node --max_old_space_size=8192 ./node_modules/@angular/cli/bin/ng build devui-lib"
},
"dependencies": {
"@angular/animations": "~10.2.2",
"@angular/cdk": "^10.2.7",
"@angular/common": "~10.2.2",
"@angular/compiler": "~10.2.2",
"@angular/core": "~10.2.2",
"@angular/forms": "~10.2.2",
"@angular/platform-browser": "~10.2.2",
"@angular/platform-browser-dynamic": "~10.2.2",
"@angular/router": "~10.2.2",
"@devui-design/icons": "^1.1.0",
"@types/lodash-es": "^4.17.3",
"@types/marked": "^1.1.0",
"bootstrap": "^4.5.2",
"classlist.js": "^1.1.20150312",
"core-js": "^2.5.4",
"css-vars-ponyfill": "^2.3.2",
"date-fns": "1.30.1",
"enquire.js": "^2.1.6",
"fastestsmallesttextencoderdecoder": "1.0.14",
"lodash-es": "^4.17.15",
"marked": "^1.2.0",
"@popperjs/core": "^2.5.4",
"web-animations-js": "^2.3.2",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-builders/custom-webpack": "^10.0.0",
"@angular-devkit/build-angular": "~0.1002.0",
"@angular-devkit/build-ng-packagr": "~0.1002.0",
"@angular/cli": "^10.0.8",
"@angular/compiler-cli": "~10.2.3",
"@angular/language-service": "^10.2.3",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1",
"clean-css-cli": "^4.3.0",
"codelyzer": "^6.0.0",
"highlight.js": "^9.15.8",
"html-loader": "^1.3.0",
"husky": "^4.3.0",
"jasmine-core": "~3.5.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.0.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~3.3.0",
"karma-jasmine-html-reporter": "^1.5.0",
"karma-junit-reporter": "^2.0.1",
"lint-staged": "^9.2.3",
"markdown-loader": "^5.1.0",
"ng-packagr": "10.1.0",
"ngx-build-plus": "^8.1.5",
"node-sass": "^4.14.1",
"patch-package": "^6.2.2",
"postcss": "^7.0.27",
"prettier": "^2.1.2",
"protractor": "~7.0.0",
"rxjs": "~6.6.2",
"shelljs": "^0.8.3",
"stylelint": "^13.3.2",
"stylelint-config-recommended-scss": "^4.2.0",
"stylelint-config-standard": "^20.0.0",
"stylelint-scss": "^3.17.0",
"ts-node": "~7.0.0",
"tslint": "~6.1.0",
"typescript": "~4.0.5"
},
"lint-staged": {
"devui/**/*.ts": [
"tslint --fix -p devui/tsconfig.lint.json -c devui/tslint.json \"*.ts\"",
"git add"
],
"src/**/*.ts": [
"tslint --fix -c src/tslint.json \"*.ts\"",
"git add"
],
"{devui,src}/**/*.html": [
"prettier --config ./.prettierrc --write",
"git add"
],
"{devui,src}/**/*.{scss,css}": [
"stylelint --fix",
"git add"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged",
"pre-push": "npm run test:lib"
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化