This repository has been archived by the owner on May 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
107 lines (107 loc) · 3.74 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
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
97
98
99
100
101
102
103
104
105
106
107
{
"name": "momentum-ui-angular-cli",
"version": "145.0.0",
"scripts": {
"build": "run-s build:lib build:schematics",
"build:docs": "ng build --project=docs",
"build:lib": "ng build",
"build:schematics": "run-s build:schematics:ts build:schematics:collection build:schematics:files",
"build:schematics:collection": "cpy --parents --cwd='src/schematics/src/' '**/*.json' ../../../dist/@momentum-ui/angular/schematics",
"build:schematics:files": "cpy --parents --cwd='src/schematics/src/' '**/files/**' ../../../dist/@momentum-ui/angular/schematics",
"build:schematics:ts": "tsc -p ./src/schematics/tsconfig.json",
"clean:dist": "rimraf dist",
"ci:publishCDN": "yarn pushToS3",
"pushToS3": "node ../tools/pushToS3.js --library=angular",
"gen:c": "ng g c --project=@momentum-ui/angular",
"gen:m": "ng g m --project=@momentum-ui/angular",
"lint": "ng lint --project=@momentum-ui/angular",
"ng": "ng",
"serve": "ng serve --project=docs -o ",
"start": "run-p --race watch:lib watch:serve",
"test": "jest",
"test:aot": "yarn build:lib && yarn build:docs --prod",
"test:CI": "yarn test:aot && jest --maxWorkers=2 --bail",
"test:schematics": "npm run build:schematics && jasmine dist/@momentum-ui/angular/schematics/**/*_spec.js",
"test:watch": "jest --watch",
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
"watch:lib": "yarn clean:dist && ng build @momentum-ui/angular --watch",
"watch:serve": "wait-on dist/@momentum-ui/angular/fesm5/momentum-ui-angular.js && yarn serve",
"prepublishOnly": "run-s build "
},
"private": true,
"devDependencies": {
"@angular-builders/jest": "^7.3.1",
"@angular-devkit/build-angular": "^0.13.0",
"@angular-devkit/build-ng-packagr": "~0.10.0",
"@angular/animations": "^7.2.1",
"@angular/cdk": "^7.2.1",
"@angular/cli": "^7.2.1",
"@angular/common": "^7.2.1",
"@angular/compiler": "^7.2.1",
"@angular/compiler-cli": "^7.2.1",
"@angular/core": "^7.2.1",
"@angular/forms": "^7.2.1",
"@angular/http": "^7.2.1",
"@angular/language-service": "^7.2.1",
"@angular/platform-browser": "^7.2.1",
"@angular/platform-browser-dynamic": "^7.2.1",
"@angular/router": "^7.2.1",
"@momentum-ui/core": "^19.4.19",
"@momentum-ui/utils": "^6.0.4",
"@percy/cypress": "^0.2.3",
"@types/jest": "^24.0.9",
"@types/lodash-es": "^4.17.3",
"@types/node": "^11.11.3",
"codelyzer": "~4.5.0",
"core-js": "^2.5.4",
"cpy-cli": "^2.0.0",
"cypress": "^3.4.1",
"jest": "^23.6.0",
"jest-preset-angular": "^6.0.2",
"lodash-es": "^4.17.11",
"moment": "^2.24.0",
"ng-packagr": "^4.2.0",
"ngx-build-plus": "^7.7.6",
"npm-run-all": "^4.1.5",
"rimraf": "^2.6.3",
"rxjs": "^6.3.3",
"shallow-render": "^7.1.3",
"ts-node": "^3.0.4",
"tsickle": "~0.34.0",
"tslib": "^1.9.3",
"tslint": "^5.12.0",
"typescript": "~3.1.1",
"wait-on": "^3.2.0",
"yarn": "^1.12.1",
"zone.js": "~0.8.26"
},
"jest": {
"preset": "jest-preset-angular",
"setupTestFrameworkScriptFile": "<rootDir>/test/setupJest.ts",
"roots": [
"<rootDir>/src/lib/"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png)$": "<rootDir>/test/image.js",
"^@lib/(.*)$": "<rootDir>/src/lib/$1"
},
"globals": {
"ts-jest": {
"tsConfigFile": "src/lib/tsconfig.spec.json"
},
"__TRANSFORM_HTML__": true
},
"testMatch": [
"**/+(*.)+(spec|test).+(ts|js)?(x)"
],
"collectCoverageFrom": [
"src/lib/**/*.{js,ts}",
"!src/lib/**/index.{js,ts}",
"!**/node_modules/**"
],
"coverageDirectory": "test/coverage",
"transformIgnorePatterns": [
"node_modules/(?!lodash-es)"
]
}
}