-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json__tmpl__
54 lines (51 loc) · 1.59 KB
/
package.json__tmpl__
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
{
"name": "<%= utils.dasherize(name) %>",
"version": "0.0.0",
"license": "MIT",
"scripts": {
<% if(cli === 'angular') { %>
"ng": "nx",
"postinstall": "node ./decorate-angular-cli.js",
<% } %>
"nx": "nx",
"start": "<%= cliCommand %> serve",
"build": "<%= cliCommand %> build",
"test": "<%= cliCommand %> test",
"lint": "nx workspace-lint && <%= cliCommand %> lint",
"e2e": "<%= cliCommand %> e2e",
"affected:apps": "nx affected:apps",
"affected:libs": "nx affected:libs",
"affected:build": "nx affected:build",
"affected:e2e": "nx affected:e2e",
"affected:test": "nx affected:test",
"affected:lint": "nx affected:lint",
"affected:dep-graph": "nx affected:dep-graph",
"affected": "nx affected",
"format": "nx format:write",
"format:write": "nx format:write",
"format:check": "nx format:check",
<% if(cli === 'angular') { %>
"update": "ng update @nrwl/workspace",
<% } %>
<% if(cli === 'nx') { %>
"update": "nx migrate latest",
<% } %>
"workspace-schematic": "nx workspace-schematic",
"dep-graph": "nx dep-graph",
"help": "nx help"
},
"private": true,
"dependencies": {},
"devDependencies": {
<% if(cli === 'angular') { %>"@angular/cli": "<%= angularCliVersion %>",<% } %>
"@nrwl/cli": "<%= nxVersion %>",
"@nrwl/workspace": "<%= nxVersion %>",
"@types/node": "~8.9.4",
"dotenv": "6.2.0",
"ts-node": "~7.0.0",
"tslint": "~6.0.0",
"eslint": "<%= eslintVersion %>",
"typescript": "<%= typescriptVersion %>",
"prettier": "<%= prettierVersion %>"
}
}