extension-workshop/package.json

93 строки
3.2 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.2.0",
"foundation-sites": "6.6.3",
"glob": "7.1.6",
"hamburgers": "1.1.3",
"jquery": "3.5.1",
"liquidjs": "9.16.1",
"lunr": "2.3.9",
"slick-carousel": "1.8.1",
"velocity-animate": "1.5.2",
"velocity-ui-pack": "1.2.2"
},
"devDependencies": {
"@11ty/eleventy": "0.11.1",
"@11ty/eleventy-plugin-syntaxhighlight": "3.0.4",
"chalk": "4.1.0",
"chokidar-cli": "2.1.0",
"clean-css": "4.2.3",
"eleventy-xml-plugin": "0.1.0",
"eslint": "7.12.1",
"eslint-config-prettier": "6.15.0",
"eslint-plugin-prettier": "3.1.4",
"fs-extra": "9.0.1",
"gray-matter": "4.0.2",
"jest": "26.6.1",
"markdown-it": "11.0.1",
"markdown-it-container": "3.0.0",
"node-fetch": "2.6.1",
"node-sass": "4.14.1",
"npm-run-all": "4.1.5",
"postcss": "7.0.35",
"postcss-url": "8.0.0",
"posthtml": "0.13.4",
"posthtml-beautify": "0.7.0",
"posthtml-postcss": "0.3.0",
"posthtml-urls": "1.0.0",
"prettier": "2.1.2",
"pretty-quick": "3.1.0",
"prismjs": "1.22.0",
"rimraf": "3.0.2",
"serialize-javascript": "5.0.1",
"slugify": "1.4.6",
"stylelint": "13.7.2",
"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-ci": "npm run prettier-ci && npm run lint && npm run stylelint && jest",
"test": "npm run clean-tests && jest --watch",
"clean": "rimraf './build/' './dist/'",
"clean-dist": "rimraf './dist/'",
"clean-tests": "rimraf './tests/fixtures/dist/**/*!(.gitkeep)'",
"build": "npm run clean && 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/asset-pipeline",
"build:production": "ELEVENTY_ENV=production npm run build && bin/asset-pipeline",
"build:serve": "eleventy --serve --port=8081 --config=./eleventy.config.js",
"build:debug": "DEBUG=Eleventy* eleventy --serve --port=8081 --config=./eleventy.config.js",
"start": "npm run clean && BUILD_UNPUBLISHED=1 npm-run-all -p build:serve sass:* uglify:*",
"start:debug": "npm run clean && BUILD_UNPUBLISHED=1 npm-run-all -p build:debug 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'"
},
"jest": {
"testRegex": ".*?\\.test\\.js$",
"watchPathIgnorePatterns": [
"<rootDir>/tests/fixtures/.*?"
]
}
}