-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathpackage.json
96 lines (96 loc) · 2.98 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
{
"name": "<%= addonName %>",
"version": "0.0.0",
"description": "The default blueprint for Embroider v2 addons.",
"keywords": [
"ember-addon"
],
"repository": "",
"license": "MIT",
"author": "",
"files": [
"addon-main.cjs",
"declarations",
"dist"
],
"scripts": {
"build": "rollup --config",
"format": "prettier . --cache --write",
"lint": "concurrently \"<%= packageManager %>:lint:*(!fix)\" --names \"lint:\" --prefixColors auto",
"lint:fix": "concurrently \"<%= packageManager %>:lint:*:fix\" --names \"fix:\" --prefixColors auto && <%= packageManager %> run format",
"lint:format": "prettier . --cache --check",
"lint:hbs": "ember-template-lint . --no-error-on-unmatched-pattern",
"lint:js": "eslint . --cache",
"lint:hbs:fix": "ember-template-lint . --fix --no-error-on-unmatched-pattern",
"lint:js:fix": "eslint . --fix",<% if (typescript) { %>
"lint:types": "glint",<% } %>
"start": "rollup --config --watch",
"test": "echo 'A v2 addon does not have tests, run tests in test-app'",
"prepack": "rollup --config"
},
"dependencies": {
"@embroider/addon-shim": "^1.8.9",
"decorator-transforms": "^2.2.2"
},
"peerDependencies": {
"ember-source": ">= 4.12.0"
},
"devDependencies": {
"@babel/core": "^7.25.2",
<% if (typescript) { %>"@babel/plugin-transform-typescript": "^7.25.2",<% } %>
"@babel/eslint-parser": "^7.25.1",
"@babel/runtime": "^7.25.6",
"@eslint/js": "^9.17.0",
"@embroider/addon-dev": "^7.1.0",<% if (typescript) { %>
"@glint/core": "^1.4.0",
"@glint/environment-ember-loose": "^1.4.0",
"@glint/environment-ember-template-imports": "^1.4.0",
"@glint/template": "^1.4.0",
"@tsconfig/ember": "^3.0.8",<% } %>
"@rollup/plugin-babel": "^6.0.4",
"babel-plugin-ember-template-compilation": "^2.2.5",
"concurrently": "^9.0.1",
"ember-source": "^5.4.0",
"ember-template-lint": "^6.0.0",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-ember": "^12.3.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-n": "^17.15.1",
"globals": "^15.14.0",
"prettier": "^3.4.2",
"prettier-plugin-ember-template-tag": "^2.0.4",
"rollup": "^4.22.5"<% if (!isExistingMonorepo) { %>,
"rollup-plugin-copy": "^3.5.0"<% } %><% if (typescript) { %>,
"typescript-eslint": "^8.19.1",
"typescript": "~5.6.0"<% } %>
},
"ember": {
"edition": "octane"
},
"ember-addon": {
"version": 2,
"type": "addon",
"main": "addon-main.cjs"
},
"exports": {<% if (typescript) { %>
".": {
"types": "./declarations/index.d.ts",
"default": "./dist/index.js"
},
"./*": {
"types": "./declarations/*.d.ts",
"default": "./dist/*.js"
},<% } else { %>
".": "./dist/index.js",
"./*": "./dist/*.js",<% } %>
"./addon-main.js": "./addon-main.cjs"
}<% if (typescript) { %>,
"typesVersions": {
"*": {
"*": [
"declarations/*"
]
}
}<% } %>
}