Skip to content

Instantly share code, notes, and snippets.

@cesalberca
Created April 8, 2020 15:45
Show Gist options
  • Save cesalberca/b27566afe3a99ff5236b1f36aa0a08e2 to your computer and use it in GitHub Desktop.
Save cesalberca/b27566afe3a99ff5236b1f36aa0a08e2 to your computer and use it in GitHub Desktop.
{
"name": "blog",
"description": "César Alberca's blog",
"version": "0.1.0",
"license": "MIT",
"private": true,
"homepage": "https://www.cesalberca.es",
"scripts": {
"prestart": "run-s -l clean",
"start": "run-p -l server copy:watch compile:watch",
"prebuild": "run-s -l clean",
"build": "run-p -l copy compile",
"clean": "rimraf dist",
"copy": "run-s copy:assets copy:dependencies",
"copy:assets": "cpx \"src/**/*.{png,css,html,ico,md}\" dist/",
"copy:dependencies": "cpx \"web_modules/**/*.js\" dist/web_modules",
"copy:watch": "run-p copy:assets:watch copy:dependencies:watch",
"copy:assets:watch": "cpx \"src/**/*.{png,css,html,ico,md}\" dist/ -w",
"copy:dependencies:watch": "cpx \"web_modules/**/*.js\" dist/web_modules -w",
"compile": "tsc",
"compile:watch": "tsc -w",
"server": "servor dist --reload",
"deploy": "./build.sh deploy",
"lint": "run-s -l lint:js lint:css",
"lint:js": "eslint src/**/*.ts",
"lint:css": "stylelint \"src/**/*.ts\"",
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,css,md}\"",
"test": "jest",
"postinstall": "snowpack --include \"src/ui/index.ts\""
},
"dependencies": {
"front-matter": "3.1.0",
"inversify-props": "2.0.1",
"lit-element": "2.3.1",
"lit-html": "1.2.1",
"marked": "0.8.2",
"prismjs": "1.20.0",
"reflect-metadata": "0.1.13",
"router-slot": "1.5.3",
"tslib": "1.11.1"
},
"devDependencies": {
"@types/jest": "25.2.1",
"@types/marked": "0.7.3",
"@types/node": "13.11.0",
"@types/prismjs": "1.16.0",
"@typescript-eslint/eslint-plugin": "2.27.0",
"@typescript-eslint/parser": "2.27.0",
"cpx": "1.5.0",
"eslint": "6.8.0",
"eslint-config-prettier": "6.10.1",
"husky": "4.2.3",
"jest": "25.2.7",
"lint-staged": "10.1.2",
"npm-run-all": "4.1.5",
"prettier": "2.0.4",
"rimraf": "3.0.2",
"servor": "3.2.0",
"snowpack": "1.6.0",
"stylelint": "13.3.0",
"stylelint-config-recommended": "3.0.0",
"stylelint-config-styled-components": "0.1.1",
"stylelint-processor-styled-components": "1.10.0",
"ts-mockito": "2.5.0",
"typescript": "3.8.3"
},
"snowpack": {
"webDependencies": [
"lit-html",
"lit-element",
"lit-html/directives/class-map.js",
"lit-html/directives/unsafe-html.js",
"reflect-metadata",
"inversify-props",
"marked",
"prismjs",
"front-matter"
],
"namedExports": {
"inversify-props": [
"injectable",
"inject"
]
},
"dedupe": [
"lit-element",
"lit-html"
]
},
"gitHooks": {
"pre-commit": "lint-staged",
"pre-push": "run-s lint test"
},
"lint-staged": {
"*.{ts}": [
"prettier --write",
"git add"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment