mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Cleaned up signup-form package file and unused files
This commit is contained in:
parent
4c2635670b
commit
1f9818d9c8
3 changed files with 2 additions and 24 deletions
|
@ -1,10 +0,0 @@
|
||||||
console.log('Hello world!', import.meta);
|
|
||||||
|
|
||||||
// The demo is loaded via ESM, but normally the script is loaded via a <script> tag, using a UMD bundle.
|
|
||||||
// The script on itself expects document.currentScript to be set, but this is not the case when loaded via ESM.
|
|
||||||
// So we map it manually here
|
|
||||||
|
|
||||||
const scriptTag = document.querySelector('script');
|
|
||||||
document.currentScript = scriptTag;
|
|
||||||
|
|
||||||
import('../src/index.tsx');
|
|
|
@ -7,20 +7,11 @@
|
||||||
"url": "https://github.com/TryGhost/Ghost/tree/main/packages/signup-form"
|
"url": "https://github.com/TryGhost/Ghost/tree/main/packages/signup-form"
|
||||||
},
|
},
|
||||||
"author": "Ghost Foundation",
|
"author": "Ghost Foundation",
|
||||||
"type": "module",
|
|
||||||
"files": [
|
"files": [
|
||||||
"LICENSE",
|
"LICENSE",
|
||||||
"README.md",
|
"README.md",
|
||||||
"dist/"
|
"umd/"
|
||||||
],
|
],
|
||||||
"main": "./dist/signup-form.umd.cjs",
|
|
||||||
"module": "./dist/signup-form.js",
|
|
||||||
"exports": {
|
|
||||||
".": {
|
|
||||||
"import": "./dist/signup-form.js",
|
|
||||||
"require": "./dist/signup-form.umd.cjs"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public",
|
"access": "public",
|
||||||
"registry": "https://registry.npmjs.org/"
|
"registry": "https://registry.npmjs.org/"
|
||||||
|
@ -42,8 +33,7 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0"
|
||||||
"@tryghost/timezone-data": "0.3.0"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@storybook/addon-essentials": "7.0.12",
|
"@storybook/addon-essentials": "7.0.12",
|
||||||
|
@ -54,7 +44,6 @@
|
||||||
"@storybook/react": "7.0.12",
|
"@storybook/react": "7.0.12",
|
||||||
"@storybook/react-vite": "7.0.12",
|
"@storybook/react-vite": "7.0.12",
|
||||||
"@storybook/testing-library": "0.1.0",
|
"@storybook/testing-library": "0.1.0",
|
||||||
"@tailwindcss/forms": "0.5.3",
|
|
||||||
"@tailwindcss/line-clamp": "0.4.4",
|
"@tailwindcss/line-clamp": "0.4.4",
|
||||||
"@types/react": "18.0.28",
|
"@types/react": "18.0.28",
|
||||||
"@types/react-dom": "18.0.11",
|
"@types/react-dom": "18.0.11",
|
||||||
|
|
|
@ -190,5 +190,4 @@ module.exports = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// plugins: [require('@tailwindcss/forms')],
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue