extension-workshop/package.json

80 строки
2.7 KiB
JSON

{
"name": "extension-workshop",
"version": "2.0.0",
"description": "Firefox Extension Workshop",
"main": "assets/scripts/scripts.js",
"repository": "https://github.com/mozilla/extension-workshop",
"license": "MPL-2.0",
"private": true,
"browserslist": [
"> 0.5%",
"last 2 versions",
"Firefox ESR",
"not dead"
],
"dependencies": {
"dompurify": "2.0.12",
"foundation-sites": "6.6.3",
"hamburgers": "1.1.3",
"jquery": "3.5.1",
"liquidjs": "9.14.1",
"lunr": "2.3.8",
"slick-carousel": "1.8.1",
"velocity-animate": "1.5.2",
"velocity-ui-pack": "1.2.2"
},
"devDependencies": {
"@11ty/eleventy": "0.11.0",
"@11ty/eleventy-plugin-syntaxhighlight": "3.0.1",
"chalk": "4.1.0",
"chokidar-cli": "2.1.0",
"clean-css": "4.2.3",
"eleventy-xml-plugin": "0.1.0",
"eslint": "7.4.0",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-prettier": "3.1.4",
"fs-extra": "9.0.1",
"markdown-it": "11.0.0",
"node-fetch": "2.6.0",
"node-sass": "4.14.1",
"npm-run-all": "4.1.5",
"postcss": "7.0.32",
"postcss-url": "8.0.0",
"posthtml": "0.13.1",
"posthtml-beautify": "0.7.0",
"posthtml-postcss": "0.3.0",
"posthtml-urls": "1.0.0",
"prettier": "2.0.5",
"pretty-quick": "2.0.1",
"prismjs": "1.20.0",
"rimraf": "3.0.2",
"serialize-javascript": "4.0.0",
"slugify": "1.4.4",
"stylelint": "13.6.1",
"stylelint-config-standard": "20.0.0",
"svgo": "1.3.2",
"terser": "4.8.0",
"url-parse": "1.4.7"
},
"scripts": {
"lint": "eslint .",
"stylelint": "stylelint --syntax scss **/*.scss",
"prettier": "prettier --write '**'",
"prettier-ci": "prettier -c '**'",
"prettier-dev": "pretty-quick --branch master",
"test": "npm run prettier-ci && npm run lint && npm run stylelint",
"clean": "rimraf './build/' './dist/'",
"clean-dist": "rimraf './dist/'",
"build": "eleventy --config=./eleventy.config.js && npm run sass:build && npm run uglify:build",
"build:unpublished": "ELEVENTY_ENV=production BUILD_UNPUBLISHED=1 npm run build && bin/assets-pipeline",
"build:production": "ELEVENTY_ENV=production npm run build && bin/assets-pipeline",
"build:serve": "eleventy --serve --port=8081 --config=./eleventy.config.js",
"build:debug": "DEBUG=Eleventy* eleventy --serve --port=8081 --config=./eleventy.config.js",
"start": "BUILD_UNPUBLISHED=1 npm run clean && npm-run-all -p build:serve sass:* uglify:*",
"sass:build": "bin/build-styles",
"sass:watch": "chokidar 'src/assets/css/*.scss' -c 'npm run sass:build'",
"uglify:build": "bin/build-script",
"uglify:watch": "chokidar 'src/assets/js/*.js' -c 'npm run uglify:build'"
}
}