Skip to content

Instantly share code, notes, and snippets.

@techieshark

techieshark/package.json

Last active Dec 29, 2020
Embed
What would you like to do?
Snowpack issue
{
"name": "anything",
"version": "0.1.0",
"dependencies": {
"@mapbox/mapbox-sdk": "^0.10.0",
"@mapbox/polyline": "^1.1.0",
"@material-ui/core": "^4.8.2",
"@material-ui/icons": "^4.5.1",
"@turf/circle": "^6.2.0-alpha.1",
"@turf/distance": "^6.2.0-alpha.1",
"@turf/helpers": "^6.2.0-alpha.1",
"@turf/nearest-point": "^6.0.1",
"@turf/points-within-polygon": "^6.2.0-alpha.1",
"@types/mapbox__mapbox-sdk": "^0.6.2",
"@types/nouislider": "^9.0.5",
"@types/reflexbox": "^4.0.1",
"@welldone-software/why-did-you-render": "^6.0.4",
"antd": "^3.25.1",
"autocompleter": "^5.2.0",
"baseui": "^9.95.1",
"bb26": "^2.0.1",
"idb": "^5.0.2",
"lodash.difference": "^4.5.0",
"loglevel": "^1.6.7",
"mapbox-gl": "1.5.0",
"nouislider": "^14.0.3",
"react": "^16.13.x",
"react-dom": "^16.13.x",
"react-icons": "^3.8.0",
"react-swipeable": "^5.5.1",
"redux": "^4.0.5",
"reflexbox": "^4.0.6",
"styletron-engine-atomic": "^1.4.4",
"styletron-react": "^5.2.6",
"ts-polyfill": "^3.8.2"
},
"scripts": {
"start": "snowpack dev",
"build": "snowpack build",
"clean": "rm -rf build",
},
"browserslist": [
">0.2% or last 4 versions",
"not dead",
"not ie <= 11"
],
"devDependencies": {
"@snowpack/plugin-dotenv": "^2.0.5",
"@snowpack/plugin-react-refresh": "^2.3.9",
"@snowpack/plugin-typescript": "^1.1.1",
"@snowpack/plugin-webpack": "^2.2.0",
"@snowpack/web-test-runner-plugin": "^0.1.5",
"@types/geojson": "^7946.0.7",
"@types/jest": "26.0.8",
"@types/lodash": "^4.14.158",
"@types/lodash.difference": "^4.5.6",
"@types/mapbox__polyline": "^1.0.0",
"@types/react": "16.9.44",
"@types/react-dom": "16.9.8",
"@types/snowpack-env": "^2.3.3",
"@types/styletron-engine-atomic": "^1.1.0",
"@types/styletron-react": "^5.0.2",
"@types/styletron-standard": "^2.0.1",
"@typescript-eslint/eslint-plugin": "^3.7.1",
"@typescript-eslint/parser": "^3.7.1",
"@typescript-eslint/typescript-estree": "^3.7.1",
"eslint": "^6.6.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-airbnb-typescript": "^9.0.0",
"eslint-import-resolver-typescript": "^2.2.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.5",
"eslint-plugin-react-hooks": "^4.0.8",
"react-docgen-typescript": "^1.20.1",
"react-snap": "^1.23.0",
"snowpack": "^2.18.5",
"source-map-explorer": "^2.4.2",
"typescript": "3.9.7"
},
"reactSnap": {
"puppeteerArgs": [
"--no-sandbox",
"--disable-setuid-sandbox"
]
}
}
/** @type {import("snowpack").SnowpackUserConfig } */
module.exports = {
mount: {
public: '/',
src: '/_dist_',
},
plugins: [
'@snowpack/plugin-webpack',
'@snowpack/plugin-react-refresh',
'@snowpack/plugin-dotenv',
'@snowpack/plugin-typescript',
],
install: [
],
installOptions: {
env: { NODE_ENV: 'production' },
},
devOptions: {
},
buildOptions: {
},
proxy: {
},
alias: {
src: './src',
},
};
{
"compilerOptions": {
"target": "ES5",
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
"strictPropertyInitialization": true,
"forceConsistentCasingInFileNames": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedLocals": false, // turn on after dev
"noUnusedParameters": false, // prod: true
"jsx": "preserve",
"lib": [
"DOM",
"DOM.Iterable",
"ESNext"
],
"baseUrl": ".",
"paths": {
"src": ["src"] // this mapping is relative to "baseUrl"
}
},
"include": [
"src",
".eslintrc.js",
"snowpack.config.js",
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment