feat(core): added nx
This commit is contained in:
58
package.json
58
package.json
@@ -4,29 +4,25 @@
|
||||
"private": true,
|
||||
"description": "Angular file upload directives",
|
||||
"scripts": {
|
||||
"lite-server": "lite-server -c demo/bs-config.json",
|
||||
"demo.serve": "run-s build-prod link demo.build lite-server",
|
||||
"demo.gh-pages": "run-s build demo.build demo.deploy",
|
||||
"demo.build": "ng build ng2-file-upload-demo --prod",
|
||||
"demo.deploy": "gh-pages -d demo/dist",
|
||||
"link": "cd dist/ng2-file-upload/ && npm link && cd ../../ && npm link ng2-file-upload",
|
||||
"lint": "exit 0",
|
||||
"disable-lint": "tslint \"**/*.ts\" -c tslint.json --fix --type-check -t prose -e \"node_modules/**\" -e \"dist/**\" -e \"temp/**\" -e \"scripts/docs/**\"",
|
||||
"flow.changelog": "conventional-changelog -i CHANGELOG.md -s -p angular",
|
||||
"flow.github-release": "conventional-github-releaser -p angular",
|
||||
"build": "ng build ng2-file-upload",
|
||||
"build-prod": "ng build ng2-file-upload --prod",
|
||||
"build.watch": "ng build ng2-file-upload --watch",
|
||||
"start": "ng serve ng2-file-upload-demo --aot",
|
||||
"pretest": "run-s lint build link",
|
||||
"test": "ng test ng2-file-upload-test",
|
||||
"test-coverage": "ng test ng2-file-upload-test --code-coverage",
|
||||
"version": "npm run flow.changelog && git add -A"
|
||||
"ng": "nx",
|
||||
"start": "ng serve",
|
||||
"build": "ng build",
|
||||
"lib-build": "nx run ng2-file-upload:build",
|
||||
"build-prod": "nx run ng2-file-upload:build:production",
|
||||
"build.watch": "nx run ng2-file-upload:build --watch",
|
||||
"test": "nx run-many --all --target=test",
|
||||
"version": "nx run ng2-file-upload:version",
|
||||
"lint": "nx run-many --all --target=lint",
|
||||
"pretest": "run-s lint lib-build",
|
||||
"test-coverage": "nx run-many --all --target=test --codeCoverage",
|
||||
"demo.gh-pages": "run-s lib-build build demo.deploy",
|
||||
"demo.deploy": "gh-pages -d dist/apps/ng2-file-upload",
|
||||
"postinstall": "node ./decorate-angular-cli.js",
|
||||
"flow.github-release": "conventional-github-releaser -p angular"
|
||||
},
|
||||
"keywords": [
|
||||
"angular2",
|
||||
"angular",
|
||||
"bootstrap",
|
||||
"angularjs",
|
||||
"twitter-bootstrap",
|
||||
"file-upload",
|
||||
"angular-file-upload"
|
||||
@@ -43,9 +39,9 @@
|
||||
"homepage": "https://github.com/valor-software/ng2-file-upload#readme",
|
||||
"peerDependencies": {},
|
||||
"devDependencies": {
|
||||
"@angular/animations": "~11.2.14",
|
||||
"@angular-devkit/build-angular": "~0.1102.13",
|
||||
"@angular-devkit/build-ng-packagr": "^0.1002.0",
|
||||
"@angular/animations": "~11.2.14",
|
||||
"@angular/cli": "~11.2.14",
|
||||
"@angular/common": "~11.2.14",
|
||||
"@angular/compiler": "~11.2.14",
|
||||
@@ -55,10 +51,21 @@
|
||||
"@angular/platform-browser": "~11.2.14",
|
||||
"@angular/platform-browser-dynamic": "~11.2.14",
|
||||
"@angular/router": "~11.2.14",
|
||||
"@angular-eslint/eslint-plugin": "4.3.0",
|
||||
"@angular-eslint/eslint-plugin-template": "4.3.0",
|
||||
"@angular-eslint/template-parser": "4.3.0",
|
||||
"@nrwl/angular": "11.2.12",
|
||||
"@nrwl/node": "11.2.12",
|
||||
"@nrwl/eslint-plugin-nx": "11.2.12",
|
||||
"@nrwl/jest": "11.2.12",
|
||||
"@nrwl/linter": "11.2.12",
|
||||
"@types/jasmine": "~3.7.7",
|
||||
"@types/jest": "26.0.20",
|
||||
"@types/marked": "2.0.3",
|
||||
"@types/node": "^12.11.1",
|
||||
"@types/webpack": "^5.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "~4.28.3",
|
||||
"@typescript-eslint/parser": "~4.28.3",
|
||||
"bootstrap": "3.3.7",
|
||||
"chokidar-cli": "^2.1.0",
|
||||
"classlist-polyfill": "1.2.0",
|
||||
@@ -70,6 +77,8 @@
|
||||
"cpy": "8.1.2",
|
||||
"cpy-cli": "3.1.1",
|
||||
"del-cli": "3.0.1",
|
||||
"eslint": "7.22.0",
|
||||
"eslint-config-prettier": "7.2.0",
|
||||
"gh-pages": "3.2.2",
|
||||
"gitignore-to-glob": "0.3.0",
|
||||
"google-code-prettify": "1.0.5",
|
||||
@@ -77,13 +86,16 @@
|
||||
"jasmine-core": "3.6.0",
|
||||
"jasmine-data-provider": "2.2.0",
|
||||
"jasmine-spec-reporter": "7.0.0",
|
||||
"jest": "26.6.3",
|
||||
"jest-createspyobj": "2.0.0",
|
||||
"jest-preset-angular": "8.3.2",
|
||||
"karma": "~6.1.0",
|
||||
"karma-chrome-launcher": "~3.1.0",
|
||||
"karma-cli": "~2.0.0",
|
||||
"karma-coverage-istanbul-reporter": "^3.0.3",
|
||||
"karma-jasmine": "4.0.1",
|
||||
"karma-remap-istanbul": "0.6.0",
|
||||
"karma-sauce-launcher": "4.3.6",
|
||||
"karma-coverage-istanbul-reporter": "^3.0.3",
|
||||
"lite-server": "2.6.1",
|
||||
"lodash": "4.17.21",
|
||||
"markdown-loader": "^6.0.0",
|
||||
@@ -99,6 +111,7 @@
|
||||
"rxjs": "^6.6.0",
|
||||
"systemjs-builder": "0.16.15",
|
||||
"ts-helpers": "^1.1.2",
|
||||
"ts-jest": "26.5.1",
|
||||
"ts-node": "8.3.0",
|
||||
"tsickle": "^0.40.0",
|
||||
"tslint": "^6.1.0",
|
||||
@@ -132,6 +145,7 @@
|
||||
}
|
||||
],
|
||||
"dependencies": {
|
||||
"@nrwl/workspace": "^12.8.0",
|
||||
"tslib": "^2.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user