Skip to content
Snippets Groups Projects
Commit a00e5acd authored by Sanity.io's avatar Sanity.io
Browse files

Initial commit

parents
No related branches found
No related tags found
No related merge requests found
Showing
with 187 additions and 0 deletions
root = true
[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
# Mac files
.DS_Store
# Dependency directories
/node_modules
# lerna files
/lerna-debug.log
# Nansen Exhibition
_A template starter with a clean Studio._
Deployed from [sanity.io/create](https://www.sanity.io/create/?template=sanity-io%2Fsanity-template-clean).
## What you have
- Structured content using [Sanity.io](https://www.sanity.io)
- Global deployment on [Netlify](https://netlify.com)
## Quick start
1. Clone this repository
2. `npm install` in the project root folder on local
3. `npm run dev` to start the studio and frontend locally
- Your studio should be running on [http://localhost:3333](http://localhost:3333)
4. `npm run build` to build to production locally
## Deploy changes
Netlify automatically deploys new changes committed to master on GitHub. If you want to change deployment branch, do so in [build & deploy settings on Netlify](https://www.netlify.com/docs/continuous-deployment/#branches-deploys).
## Tokens
In the studio you can embed Instagram posts, but you need a access token from Facebook. See https://www.npmjs.com/package/react-instagram-embed for details. Add the token to `.env.development` and as a enviroment variable on Vercel or Netlify.
## Stuck? Get help
[![Slack Community Button](https://slack.sanity.io/badge.svg)](https://slack.sanity.io/)
Join [Sanity’s developer community](https://slack.sanity.io) or ping us [on twitter](https://twitter.com/sanity_io).
{
"packages": [
"studio"
],
"version": "0.0.0"
}
\ No newline at end of file
This diff is collapsed.
{
"private": true,
"name": "sanity-muna-studio",
"version": "0.0.0",
"scripts": {
"build": "lerna run build --parallel",
"build-studio": "(cd studio && npm run build)",
"dev": "lerna run dev --parallel",
"format": "lerna run format",
"graphql-deploy": "lerna run graphql-deploy",
"lint": "lerna run lint",
"postinstall": "lerna bootstrap",
"test": "echo \"Error: no test specified\" && exit 1"
},
"devDependencies": {
"@sanity/cli": "^1.150.1",
"lerna": "^3.14.0"
},
"dependencies": {}
}
\ No newline at end of file
SANITY_STUDIO_API_PROJECT_ID=
SANITY_STUDIO_API_DATASET=
SANITY_STUDIO_INSTAGRAM_TOKEN=
const path = require('path')
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: [
'standard',
'standard-react',
'prettier',
'prettier/react',
'prettier/@typescript-eslint',
'prettier/babel',
],
parser: 'babel-eslint',
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 12,
sourceType: 'module',
},
rules: {
'react/prop-types': 0,
'object-curly-spacing': ['error', 'never'],
curly: ['error', 'all'],
indent: ['error', 2],
'linebreak-style': ['error', 'unix'],
quotes: ['error', 'single'],
semi: ['error', 'never'],
},
settings: {
react: {
pragma: 'React',
version: '16.8.6',
},
},
}
/node_modules
.env.development
\ No newline at end of file
{
"semi": false,
"printWidth": 100,
"bracketSpacing": false,
"singleQuote": true,
"trailingComma": "all"
}
# sanity-exhibition-nansen-studio
{
"#": "Used by Sanity to keep track of configuration file checksums, do not delete or modify!",
"@sanity/default-layout": "bb034f391ba508a6ca8cd971967cbedeb131c4d19b17b28a0895f32db5d568ea",
"@sanity/default-login": "6fb6d3800aa71346e1b84d95bbcaa287879456f2922372bb0294e30b968cd37f",
"@sanity/data-aspects": "d199e2c199b3e26cd28b68dc84d7fc01c9186bf5089580f2e2446994d36b3cb6",
"sanity-plugin-graph-view": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
"sanity-plugin-leaflet-input": "719f6bf672040fa5af3485f155f7da339033b564cc0978f1249c274ddd26a483",
"@andre-brdoch/sanity-plugin-schema-inspector": "4feafffa155bc1fc8efc4f26e0e9c49c69938a03eb12e2c66c764afc82f02eea",
"sanity-plugin-media-library": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a"
}
{
"typesToIgnore": [],
"keysToIgnore": [
"icon"
]
}
\ No newline at end of file
{
"listOptions": {}
}
\ No newline at end of file
{
"toolSwitcher": {
"order": [],
"hidden": []
}
}
\ No newline at end of file
{
"providers": {
"mode": "append",
"redirectOnSingle": false,
"entries": []
}
}
\ No newline at end of file
{
"images": {
"directUploads": true
}
}
\ No newline at end of file
{}
\ No newline at end of file
{
"tileLayer": {
"attribution": "&copy; <a href=\"http://osm.org/copyright\">OpenStreetMap</a> contributors",
"url": "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
},
"defaultLocation": {
"lat": 60.386730156725044,
"lng": 5.324501395225526
},
"defaultZoom": 16
}
\ No newline at end of file
{}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment