|
8 | 8 | "repository": "https://github.com/RobbieTheWagner/ember-math-helpers",
|
9 | 9 | "license": "MIT",
|
10 | 10 | "author": {
|
11 |
| - "name": "Robert Wagner", |
| 11 | + "name": "Robbie Wagner", |
12 | 12 |
|
13 | 13 | "url": "https://github.com/RobbieTheWagner"
|
14 | 14 | },
|
| 15 | + "files": [ |
| 16 | + "addon-main.cjs", |
| 17 | + "declarations", |
| 18 | + "dist" |
| 19 | + ], |
15 | 20 | "scripts": {
|
16 |
| - "build": "concurrently 'npm:build:*'", |
17 |
| - "build:docs": "cp ../README.md ./README.md", |
18 |
| - "build:js": "rollup --config", |
19 |
| - "build:types": "glint --declaration", |
20 |
| - "lint": "concurrently 'npm:lint:js'", |
21 |
| - "lint:fix": "concurrently 'npm:lint:js:fix'", |
| 21 | + "build": "rollup --config", |
| 22 | + "format": "prettier . --cache --write", |
| 23 | + "lint": "concurrently \"pnpm:lint:*(!fix)\" --names \"lint:\" --prefixColors auto", |
| 24 | + "lint:fix": "concurrently \"pnpm:lint:*:fix\" --names \"fix:\" --prefixColors auto && pnpm run format", |
| 25 | + "lint:format": "prettier . --cache --check", |
| 26 | + "lint:hbs": "ember-template-lint . --no-error-on-unmatched-pattern", |
22 | 27 | "lint:js": "eslint . --cache",
|
| 28 | + "lint:hbs:fix": "ember-template-lint . --fix --no-error-on-unmatched-pattern", |
23 | 29 | "lint:js:fix": "eslint . --fix",
|
24 | 30 | "lint:types": "glint",
|
25 |
| - "start": "concurrently 'npm:start:*'", |
26 |
| - "start:js": "rollup --config --watch --no-watch.clearScreen", |
27 |
| - "start:types": "glint --declaration --watch", |
| 31 | + "start": "rollup --config --watch", |
28 | 32 | "test": "echo 'A v2 addon does not have tests, run tests in test-app'",
|
29 |
| - "prepack": "rollup --config", |
30 |
| - "prepare": "pnpm build", |
31 |
| - "prepublishOnly": "pnpm build" |
| 33 | + "prepack": "rollup --config" |
32 | 34 | },
|
33 | 35 | "dependencies": {
|
34 |
| - "@embroider/addon-shim": "^1.10.0" |
| 36 | + "@embroider/addon-shim": "^1.8.9", |
| 37 | + "decorator-transforms": "^2.2.2" |
| 38 | + }, |
| 39 | + "peerDependencies": { |
| 40 | + "ember-source": ">= 4.12.0" |
35 | 41 | },
|
36 | 42 | "devDependencies": {
|
37 |
| - "@babel/core": "^7.26.10", |
38 |
| - "@babel/plugin-proposal-class-properties": "^7.18.6", |
39 |
| - "@babel/plugin-proposal-decorators": "^7.25.9", |
40 |
| - "@babel/plugin-transform-class-static-block": "^7.26.0", |
41 |
| - "@babel/plugin-transform-typescript": "^7.27.0", |
42 |
| - "@babel/runtime": "^7.27.0", |
| 43 | + "@babel/core": "^7.25.2", |
| 44 | + "@babel/plugin-transform-typescript": "^7.25.2", |
| 45 | + "@babel/eslint-parser": "^7.25.1", |
| 46 | + "@babel/runtime": "^7.25.6", |
43 | 47 | "@embroider/addon-dev": "^8.0.1",
|
| 48 | + "@eslint/js": "^9.17.0", |
44 | 49 | "@glint/core": "^1.5.2",
|
45 | 50 | "@glint/environment-ember-loose": "^1.5.2",
|
46 | 51 | "@glint/environment-ember-template-imports": "^1.5.2",
|
47 | 52 | "@glint/template": "^1.5.2",
|
48 | 53 | "@rollup/plugin-babel": "6.0.4",
|
49 | 54 | "@tsconfig/ember": "^3.0.10",
|
50 | 55 | "@types/rsvp": "^4.0.9",
|
51 |
| - "@typescript-eslint/eslint-plugin": "^8.29.0", |
52 |
| - "@typescript-eslint/parser": "^8.29.0", |
53 |
| - "concurrently": "9.1.2", |
54 |
| - "eslint": "^8.57.1", |
55 |
| - "eslint-config-prettier": "10.1.1", |
56 |
| - "eslint-plugin-decorator-position": "6.0.0", |
57 |
| - "eslint-plugin-ember": "12.5.0", |
58 |
| - "eslint-plugin-import": "2.31.0", |
59 |
| - "eslint-plugin-json": "4.0.1", |
60 |
| - "eslint-plugin-n": "^17.17.0", |
61 |
| - "eslint-plugin-prettier": "^5.2.6", |
62 |
| - "eslint-plugin-simple-import-sort": "12.1.1", |
63 |
| - "prettier": "^3.5.3", |
64 |
| - "rollup": "^4.39.0", |
65 |
| - "typescript": "^5.8.2", |
| 56 | + "babel-plugin-ember-template-compilation": "^2.2.5", |
| 57 | + "concurrently": "^9.0.1", |
| 58 | + "ember-source": "^5.4.0", |
| 59 | + "ember-template-lint": "^6.0.0", |
| 60 | + "eslint": "^9.17.0", |
| 61 | + "eslint-config-prettier": "^9.1.0", |
| 62 | + "eslint-plugin-ember": "^12.3.3", |
| 63 | + "eslint-plugin-import": "^2.31.0", |
| 64 | + "eslint-plugin-n": "^17.15.1", |
| 65 | + "globals": "^15.14.0", |
| 66 | + "prettier": "^3.4.2", |
| 67 | + "prettier-plugin-ember-template-tag": "^2.0.4", |
| 68 | + "rollup": "^4.22.5", |
| 69 | + "rollup-plugin-copy": "^3.5.0", |
| 70 | + "typescript-eslint": "^8.19.1", |
| 71 | + "typescript": "~5.6.0", |
66 | 72 | "webpack": "^5.98.0"
|
67 | 73 | },
|
68 |
| - "peerDependencies": { |
69 |
| - "ember-source": ">= 4.0.0" |
70 |
| - }, |
71 | 74 | "publishConfig": {
|
72 | 75 | "registry": "https://registry.npmjs.org"
|
73 | 76 | },
|
|
77 | 80 | "ember-addon": {
|
78 | 81 | "version": 2,
|
79 | 82 | "type": "addon",
|
80 |
| - "main": "./addon-main.cjs", |
| 83 | + "main": "addon-main.cjs", |
81 | 84 | "app-js": {
|
82 | 85 | "./helpers/abs.js": "./dist/_app_/helpers/abs.js",
|
83 | 86 | "./helpers/acos.js": "./dist/_app_/helpers/acos.js",
|
|
123 | 126 | "./helpers/trunc.js": "./dist/_app_/helpers/trunc.js"
|
124 | 127 | }
|
125 | 128 | },
|
126 |
| - "files": [ |
127 |
| - "addon-main.cjs", |
128 |
| - "declarations", |
129 |
| - "dist", |
130 |
| - "CHANGELOG.md", |
131 |
| - "README.md" |
132 |
| - ], |
133 | 129 | "exports": {
|
134 | 130 | ".": {
|
135 | 131 | "types": "./declarations/index.d.ts",
|
|
0 commit comments