1 | {
|
2 | "name": "@cuba-platform/front-generator",
|
3 | "version": "2.4.0-beta.0",
|
4 | "description": "CUBA Platform front-end clients generator",
|
5 | "main": "lib/cli.js",
|
6 | "bin": {
|
7 | "gen-cuba-front": "bin/gen-cuba-front.js"
|
8 | },
|
9 | "engines": {
|
10 | "node": ">=10.17"
|
11 | },
|
12 | "scripts": {
|
13 | "build": "rimraf lib && tsc && node scripts/copy-templates.js",
|
14 | "watch": "tsc -w",
|
15 | "test": "mocha",
|
16 | "coverage": "nyc npm run test",
|
17 | "test:e2e": "mocha 'test/e2e/*.test.js' -g 'test:e2e:polymer2|test:e2e:sdk|test:e2e:react' --timeout 0",
|
18 | "test:e2e:sdk": "mocha 'test/e2e/sdk.test.js' -g 'test:e2e:sdk' --timeout 0",
|
19 | "test:e2e:react": "mocha 'test/e2e/react-client--*.test.js' -g 'test:e2e:react' --timeout 0",
|
20 | "test:e2e:react:scr": "mocha 'test/e2e/react-client--scr.test.js' -g 'test:e2e:react:scr' --timeout 0",
|
21 | "test:e2e:react:empty-model": "mocha 'test/e2e/react-client--empty-model.test.js' -g 'test:e2e:react:empty-model' --timeout 0",
|
22 | "test:e2e:react:new-project": "mocha 'test/e2e/react-client--new-project.test.js' -g 'test:e2e:react:new-project' --timeout 0",
|
23 | "test:e2e:polymer2": "mocha 'test/e2e/polymer2.test.js' -g 'test:e2e:polymer2' --timeout 0",
|
24 | "test:e2e:polymer2-ts": "mocha 'test/e2e/polymer2-ts.test.js' -g 'test:e2e:polymer2-ts' --timeout 0",
|
25 | "gen-client-scr": "node test/e2e/gen-client-scr.js",
|
26 | "doc:toc": "node update-readme-toc.js",
|
27 | "prepublishOnly": "npm run build"
|
28 | },
|
29 | "repository": {
|
30 | "type": "git",
|
31 | "url": "https://github.com/cuba-platform/frontend/tree/master/packages/front-generator"
|
32 | },
|
33 | "dependencies": {
|
34 | "@types/prettier": "^1.18.3",
|
35 | "commander": "~2.13.0",
|
36 | "inquirer-autocomplete-prompt": "^1.0.1",
|
37 | "prettier": "1.18.2",
|
38 | "through2": "^2.0.5",
|
39 | "typescript": "3.4.1",
|
40 | "yeoman-environment": "~2.4.0",
|
41 | "yeoman-generator": "^4.0.2"
|
42 | },
|
43 | "devDependencies": {
|
44 | "@istanbuljs/nyc-config-typescript": "^0.1.3",
|
45 | "@types/chai": "^4.2.3",
|
46 | "@types/ejs": "^2.5.1",
|
47 | "@types/mocha": "^2.2.48",
|
48 | "@types/nock": "^11.1.0",
|
49 | "@types/node": "^10.17.0",
|
50 | "@types/through2": "^2.0.33",
|
51 | "@types/yeoman-generator": "^2.0.3",
|
52 | "chai": "^4.2.0",
|
53 | "mocha": "^5.1.1",
|
54 | "nock": "^11.3.5",
|
55 | "nyc": "^14.1.1",
|
56 | "rimraf": "^2.6.2",
|
57 | "source-map-support": "^0.5.6",
|
58 | "ts-node": "^4.1.0",
|
59 | "vinyl-fs": "^3.0.3"
|
60 | },
|
61 | "nyc": {
|
62 | "extends": "@istanbuljs/nyc-config-typescript",
|
63 | "skip-full": true,
|
64 | "all": true,
|
65 | "include": [
|
66 | "src/**/*.ts"
|
67 | ],
|
68 | "exclude": [
|
69 | "src/test/**",
|
70 | "src/generators/polymer2/**",
|
71 | "src/generators/polymer2-typescript/**",
|
72 | "src/generators/*/*/template/**"
|
73 | ],
|
74 | "reporter": [
|
75 | "text",
|
76 | "html"
|
77 | ],
|
78 | "check-coverage": true,
|
79 | "statements": 83,
|
80 | "branches": 75,
|
81 | "functions": 90,
|
82 | "lines": 90
|
83 | },
|
84 | "author": "CUBA Platform Team <info@cuba-platform.com>",
|
85 | "license": "Apache-2.0",
|
86 | "gitHead": "aa77154f4293c7ed42698f82d5b8716abdf1614e"
|
87 | }
|