-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 2.43 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
{
"name": "primeimage",
"version": "0.8.0",
"description": "Turn any image into an prime number.",
"main": "main.js",
"scripts": {
"preversion": "npm test",
"postversion": "git push --tags && git push",
"lint:js": "xo",
"lint:elm": "elm-format elm-src tests --validate",
"lint:scss": "stylelint site/**/*.scss",
"lint": "npm run lint:js && npm run lint:elm && npm run lint:scss",
"format:js": "xo --fix",
"format:elm": "elm-format elm-src tests --yes",
"format:scss": "stylelint site/**/*.scss --fix",
"format": "npm run format:js && npm run format:elm && npm run format:scss",
"test:elm": "elm-test \"tests/**/*.elm\"",
"test:js": "karma start --single-run --browsers FirefoxHeadless",
"test": "npm run test:elm && npm run test:js",
"build": "elm make elm-src/Main.elm --output site/built/elm.js && node util/elm2esm site/built/elm.js && sass site/sass/main.scss site/built/main.css",
"watch": "chokidar elm-src site/sass elm.json -c \"npm run build\" --initial --debounce 1200",
"serve": "serve site"
},
"private": true,
"dependencies": {},
"devDependencies": {
"chai": "4.2.0",
"chokidar-cli": "2.1.0",
"elm": "0.19.0-no-deps",
"elm-format": "0.8.3",
"elm-test": "0.19.0-rev6",
"eslint-plugin-html": "6.0.0",
"karma": "4.4.1",
"karma-chai": "0.1.0",
"karma-firefox-launcher": "1.2.0",
"karma-mocha": "1.3.0",
"karma-mocha-reporter": "2.2.5",
"karma-webpack": "4.0.2",
"mocha": "7.1.0",
"sass": "1.26.2",
"serve": "11.2.0",
"stylelint": "13.2.1",
"stylelint-config-rational-order": "0.1.2",
"stylelint-config-standard": "20.0.0",
"stylelint-scss": "3.14.1",
"webpack": "4.42.0",
"xo": "0.25.3"
},
"xo": {
"space": true,
"env": [
"mocha",
"browser"
],
"import/extensions": "ignorePackages",
"rules": {
"import/extensions": "off",
"eslint-comments/no-unused-disable": "warn"
},
"plugins": [
"html"
],
"extensions": [
"html"
]
},
"stylelint": {
"extends": [
"stylelint-config-standard",
"stylelint-config-rational-order"
],
"plugins": [
"stylelint-scss"
],
"rules": {
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": [
"function",
"if",
"each",
"include",
"mixin"
]
}
]
}
}
}