forked from webcompat/webcompat.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
102 lines (102 loc) · 3.89 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"title": "webcompat.com",
"name": "webcompat",
"description": "The webcompat.com is a tool to gather web compatibility bugs, inform the community and help to fix the web.",
"author": {
"name": "The fine folks who contribute to webcompat.com",
"url": "http://webcompat.com"
},
"repository": {
"type": "git",
"url": "https://github.com/webcompat/webcompat.com.git"
},
"engines": {
"node": ">= 10.13.0"
},
"dependencies": {
"amd-to-commonjs-codemod": "^1.2.0",
"cssrecipes-custom-media-queries": "0.3.0",
"cssrecipes-defaults": "^0.5.0",
"cssrecipes-grid": "^1.0.0",
"cssrecipes-reset": "^0.5.0",
"cssrecipes-utils": "^0.6.2",
"suitcss-utils-align": "^1.0.0",
"suitcss-utils-display": "^1.0.2",
"yargs": "^13.1.0"
},
"devDependencies": {
"eslint": "^5.6.1",
"eslint-config-prettier": "^5.0.0",
"eslint-plugin-prettier": "^3.0.0",
"grunt": "^1.0.3",
"grunt-check-dependencies": "^1.0.0",
"grunt-cli": "^1.2.0",
"grunt-contrib-concat": "^1.0.0",
"grunt-contrib-cssmin": "^3.0.0",
"grunt-contrib-imagemin": "^3.1.0",
"grunt-contrib-jst": "^1.0.0",
"grunt-contrib-uglify": "^4.0.0",
"grunt-contrib-watch": "^1.1.0",
"grunt-postcss": "^0.9.0",
"husky": "^2.0.0",
"intern": "4.4.3",
"leadfoot": "1.7.6",
"lint-staged": "^8.0.4",
"load-grunt-tasks": "^5.0.0",
"postcss": "^7.0.13",
"postcss-browser-reporter": "^0.6.0",
"postcss-cssnext": "^3.1.0",
"postcss-import": "^12.0.0",
"postcss-reporter": "^6.0.0",
"postcss-url": "^8.0.0",
"stylelint": "^10.0.0",
"prettier": "1.18.0",
"stylelint-config-standard": "^18.0.0",
"stylelint-order": "^3.0.0",
"svg-sprite-generator": "0.0.7",
"svgo": "^1.1.1"
},
"scripts": {
"setup": "npm run virtualenv && npm install && npm run config",
"watch": "grunt watch",
"build": "grunt",
"build:svg": "npm run build:svg:clean-svg && npm run build:svg:svg-sprite && rm -rf ./webcompat/static/img/svg/tmp",
"build:svg:clean-svg": "svgo -f ./webcompat/static/img/svg/icons -o ./webcompat/static/img/svg/tmp",
"build:svg:svg-sprite": "svg-sprite-generate -d ./webcompat/static/img/svg/tmp -o ./webcompat/static/img/svg/sprite.svg",
"jst": "grunt jst",
"lint": "npm run lint:js && npm run lint:css",
"lint:js": "npx eslint ./Gruntfile.js ./tests ./grunt-tasks ./webcompat/static/js/lib",
"lint:css": "npx stylelint './webcompat/static/css/src/**/*.css' './webcompat/static/css/webcompat.dev.css'",
"lint:fix": "npm run lint:fix:js && npm run lint:fix:css",
"lint:fix:js": "npx eslint --fix ./Gruntfile.js ./tests ./grunt-tasks ./webcompat/static/js/lib",
"lint:fix:css": "npx stylelint './webcompat/static/css/src/**/*.css' './webcompat/static/css/webcompat.dev.css' --fix",
"imagemin": "grunt imagemin",
"prestart": "npm run build",
"start": "source env/bin/activate || . env/bin/activate && python run.py",
"start:test": "npm run build && source env/bin/activate || . env/bin/activate && python run.py -t",
"virtualenv": "pip2 install virtualenv && virtualenv -p python2.7 env && source env/bin/activate || . env/bin/activate && npm run pip",
"pip": "pip2 install -r config/requirements-dev.txt",
"config": "cp config/secrets.py.example config/secrets.py",
"project-update": "pip2 install --upgrade pip && npm update",
"precommit": "lint-staged",
"test": "npm run test:js && npm run test:python",
"test:js": "node ./tests/functional/_intern.js",
"test:python": "nosetests"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"npx eslint ./Gruntfile.js ./tests ./grunt-tasks ./webcompat/static/js/lib",
"git add"
],
"*.css": [
"npx stylelint './webcompat/static/css/src/**/*.css' './webcompat/static/css/webcompat.dev.css'",
"git add"
]
},
"license": "MPL-2.0"
}