mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-01-22 09:20:00 +00:00
10c0a7296d
* lint: let eslint lint all js files in project && auto-fix
* lint: ignore dist, unignore eleventy config
* del unused minified file
* 💅
84 lines
2.2 KiB
JSON
84 lines
2.2 KiB
JSON
{
|
|
"name": "selfdefined",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"description": "A modern dictionary about us.",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"build": "concurrently npm:build:*",
|
|
"build:css": "parcel build assets/css/base.scss --out-dir dist/assets/css/",
|
|
"build:site": "eleventy",
|
|
"create-definitions": "bin/create-definitions",
|
|
"lint": "concurrently npm:lint:*",
|
|
"lint:css": "stylelint \"assets/css/**/*.scss\" --fix",
|
|
"lint:js": "eslint \"**/*.js\" --fix",
|
|
"lint:markdown": "markdownlint '**/*.md' --ignore node_modules",
|
|
"serve": "concurrently \"npm run serve:site\" \"npm run watch:css\"",
|
|
"serve:site": "eleventy --serve",
|
|
"test": "ava",
|
|
"watch": "eleventy --watch",
|
|
"watch:css": "parcel watch assets/css/base.scss --out-dir dist/assets/css/"
|
|
},
|
|
"bin": {
|
|
"create-definitions": "bin/create-definitions"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/tatianamac/selfdefined.git"
|
|
},
|
|
"keywords": [
|
|
"dictionary"
|
|
],
|
|
"author": "Tatiana Mac",
|
|
"license": "ISC",
|
|
"bugs": {
|
|
"url": "https://github.com/tatianamac/selfdefined/issues"
|
|
},
|
|
"homepage": "https://github.com/tatianamac/selfdefined#readme",
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged",
|
|
"pre-push": "npm run lint && npm run test"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"11ty/**/*.js": [
|
|
"npm run lint:js -- --fix",
|
|
"npm run test"
|
|
],
|
|
"assets/css/**/*.scss": [
|
|
"npm run lint:css -- --fix"
|
|
],
|
|
"**/*.md": [
|
|
"npm run lint:markdown -- --fix"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@11ty/eleventy": "^0.11.0",
|
|
"markdown-it-anchor": "^5.3.0",
|
|
"markdown-it-prism": "^2.0.5"
|
|
},
|
|
"devDependencies": {
|
|
"ava": "^3.8.2",
|
|
"concurrently": "^5.2.0",
|
|
"eslint": "^6.8.0",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"eslint-plugin-prettier": "^3.1.3",
|
|
"esm": "^3.2.25",
|
|
"husky": "^4.2.5",
|
|
"lint-staged": "^10.2.7",
|
|
"markdownlint-cli": "^0.23.1",
|
|
"parcel-bundler": "^1.12.4",
|
|
"prettier": "^1.19.1",
|
|
"sass": "^1.26.7",
|
|
"slugify": "^1.4.0",
|
|
"stylelint": "^13.5.0",
|
|
"stylelint-config-recommended-scss": "^4.2.0",
|
|
"stylelint-order": "^4.0.0",
|
|
"stylelint-scss": "^3.17.2"
|
|
},
|
|
"engines": {
|
|
"node": "12"
|
|
}
|
|
}
|