package.json
npx frontity create-package awesome-theme
Β» Read more about frontity create-package
βpackage.json
) and some packages (each one with its own package.json
) under the packages
foldernpx frontity create awesome-theme-project
npx frontity create-package awesome-theme
frontity.setting.js
frontity.setting.js
file containing the settings for your project (among other settings you'll usually define the use of this theme)node_modules
packages
package.json
package.json
is used when you publish a package in npm, but this Frontity project is not meant to be published"private": true
preventing this package (the main Frontity project defined in the root) being publishedpackages
folder.package.json
and these packages are the ones meant to be published (npm publish
)npx frontity create-package <my package name>
(from the root of the Frontity project)
Β» Read more about frontity create-package
βpackages/awesome-theme
in this case)name
in your package.json
) so if you try to publish a package that is already published you will get an error