|
1 | 1 | { |
2 | | - "name": "stimulus-content-loader", |
| 2 | + "name": "@stimulus-components/content-loader", |
3 | 3 | "version": "4.2.0", |
4 | | - "engines": { |
5 | | - "node": "*" |
6 | | - }, |
7 | 4 | "description": "A Stimulus controller to asynchronously load HTML from an url.", |
8 | 5 | "keywords": [ |
9 | 6 | "stimulus", |
|
21 | 18 | "license": "MIT", |
22 | 19 | "homepage": "https://github.com/stimulus-components/stimulus-content-loader", |
23 | 20 | "private": false, |
| 21 | + "publishConfig": { |
| 22 | + "access": "public" |
| 23 | + }, |
24 | 24 | "main": "dist/stimulus-content-loader.umd.js", |
25 | 25 | "module": "dist/stimulus-content-loader.mjs", |
| 26 | + "types": "dist/types/index.d.ts", |
26 | 27 | "scripts": { |
27 | | - "format": "prettier-standard '**/*.{ts,css,html}' --format", |
28 | | - "lint": "prettier-standard '**/*.{ts,css,html}' --lint", |
| 28 | + "lint": "tsc --noEmit && eslint --ext .js,.mjs,.ts . && prettier . --check", |
| 29 | + "lintfix": "eslint --ext .js,.mjs,.ts . --fix && prettier . --write", |
| 30 | + "types": "tsc --noEmit false --declaration true --emitDeclarationOnly true --outDir dist/types", |
29 | 31 | "dev": "vite", |
30 | 32 | "prod": "vite build --mode netlify", |
31 | | - "build": "tsc --noEmit && vite build", |
| 33 | + "build": "vite build && yarn types", |
32 | 34 | "version": "yarn build", |
33 | | - "np": "np --no-2fa --no-test" |
| 35 | + "np": "np --no-2fa --no-tests" |
34 | 36 | }, |
35 | 37 | "devDependencies": { |
36 | | - "@babel/core": "7.22.10", |
37 | | - "@babel/plugin-syntax-class-properties": "7.12.13", |
38 | | - "@babel/preset-env": "^7.22.10", |
39 | | - "@babel/preset-typescript": "^7.22.5", |
40 | | - "@hotwired/stimulus": "^3.2.2", |
41 | | - "autoprefixer": "^10.4.14", |
42 | | - "np": "^8.0.4", |
43 | | - "postcss": "^8.4.27", |
44 | | - "prettier-standard": "16.4.1", |
45 | | - "tailwindcss": "^3.3.3", |
46 | | - "typescript": "^5.1.6", |
47 | | - "vite": "^4.4.9" |
| 38 | + "@babel/core": "7.24.1", |
| 39 | + "@babel/polyfill": "7.12.1", |
| 40 | + "@babel/preset-env": "7.24.1", |
| 41 | + "@babel/preset-typescript": "7.24.1", |
| 42 | + "@hotwired/stimulus": "^3", |
| 43 | + "@typescript-eslint/eslint-plugin": "^7.3.1", |
| 44 | + "@typescript-eslint/parser": "^7.3.1", |
| 45 | + "autoprefixer": "10.4.18", |
| 46 | + "eslint": "^8.57.0", |
| 47 | + "eslint-config-prettier": "^9.1.0", |
| 48 | + "eslint-config-standard": "17.1.0", |
| 49 | + "eslint-plugin-import": "2.29.1", |
| 50 | + "eslint-plugin-n": "16.6.2", |
| 51 | + "eslint-plugin-node": "11.1.0", |
| 52 | + "eslint-plugin-promise": "6.1.1", |
| 53 | + "eslint-plugin-standard": "5.0.0", |
| 54 | + "np": "9.2.0", |
| 55 | + "postcss": "8.4.37", |
| 56 | + "prettier": "3.2.5", |
| 57 | + "tailwindcss": "3.4.1", |
| 58 | + "typescript": "^5.4.2", |
| 59 | + "vite": "5.2.0" |
48 | 60 | }, |
49 | 61 | "peerDependencies": { |
50 | | - "@hotwired/stimulus": "^3.2.1" |
| 62 | + "@hotwired/stimulus": "^3.0.0" |
51 | 63 | } |
52 | 64 | } |
0 commit comments