97 строки
3.3 KiB
JSON
97 строки
3.3 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": "3.2.1",
|
|
"foundation-sites": "6.7.5",
|
|
"glob": "10.4.3",
|
|
"hamburgers": "1.1.3",
|
|
"jquery": "3.7.1",
|
|
"liquidjs": "10.19.0",
|
|
"lunr": "2.3.9",
|
|
"slick-carousel": "1.8.1",
|
|
"velocity-animate": "1.5.2",
|
|
"velocity-ui-pack": "1.2.2"
|
|
},
|
|
"devDependencies": {
|
|
"@11ty/eleventy": "2.0.1",
|
|
"@11ty/eleventy-plugin-syntaxhighlight": "5.0.0",
|
|
"acorn": "8.14.0",
|
|
"acorn-walk": "8.3.4",
|
|
"chalk": "4.1.2",
|
|
"chokidar-cli": "3.0.0",
|
|
"eleventy-xml-plugin": "0.1.0",
|
|
"eslint": "8.57.0",
|
|
"eslint-config-prettier": "9.1.0",
|
|
"eslint-plugin-prettier": "5.2.1",
|
|
"fs-extra": "11.2.0",
|
|
"gray-matter": "4.0.3",
|
|
"jest": "29.7.0",
|
|
"jest-environment-jsdom": "29.7.0",
|
|
"markdown-it": "14.1.0",
|
|
"markdown-it-container": "3.0.0",
|
|
"node-fetch": "2.6.7",
|
|
"node-sass": "9.0.0",
|
|
"npm-run-all": "4.1.5",
|
|
"postcss": "8.4.49",
|
|
"postcss-scss": "4.0.9",
|
|
"postcss-url": "10.1.3",
|
|
"posthtml": "0.16.6",
|
|
"posthtml-beautify": "0.7.0",
|
|
"posthtml-postcss": "0.5.0",
|
|
"posthtml-urls": "1.0.0",
|
|
"prettier": "3.3.3",
|
|
"pretty-quick": "4.0.0",
|
|
"prismjs": "1.29.0",
|
|
"rimraf": "5.0.8",
|
|
"serialize-javascript": "6.0.2",
|
|
"slugify": "1.6.6",
|
|
"stylelint": "14.16.1",
|
|
"stylelint-config-prettier-scss": "0.0.1",
|
|
"stylelint-config-standard": "29.0.0",
|
|
"stylelint-config-standard-scss": "6.1.0",
|
|
"terser": "5.36.0",
|
|
"url-parse": "1.5.10"
|
|
},
|
|
"scripts": {
|
|
"lint": "eslint .",
|
|
"stylelint": "stylelint **/*.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/.*?"
|
|
]
|
|
}
|
|
}
|