-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
56 lines (56 loc) · 1.64 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
{
"name": "@alphagov/markdown-copy-paste-harness",
"version": "0.0.1",
"description": "Miller columns element",
"main": "dist/index.umd.js",
"module": "dist/index.esm.js",
"license": "MIT",
"repository": "alphagov/miller-columns-element",
"files": [
"dist"
],
"watch": {
"build": [
"index.js",
"main.scss"
]
},
"scripts": {
"clean": "rm -rf dist",
"lint": "sass-lint main.scss -v -q && eslint index.js test/ && flow check",
"prebuild": "npm run clean && mkdir dist",
"build-css": "node-sass main.scss dist/main.css",
"build-umd": "BABEL_ENV=umd babel index.js -o dist/index.umd.js",
"build-esm": "BABEL_ENV=esm babel index.js -o dist/index.esm.js",
"build": "npm run build-css && npm run build-umd && npm run build-esm",
"pretest": "npm run build && npm run lint",
"test": "karma start test/karma.config.js",
"prepublishOnly": "npm run build",
"watch": "npm-watch"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-transform-custom-element-classes": "^0.1.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-flow": "^6.23.0",
"chai": "^4.1.2",
"eslint": "^5.0.1",
"eslint-plugin-github": "1.0.0",
"flow-bin": "^0.75.0",
"govuk-frontend": "^2.2.0",
"karma": "^3.0.0",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^2.2.0",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.5",
"mocha": "^5.0.5",
"node-sass": "^4.9.4",
"npm-watch": "^0.4.0",
"sass-lint": "^1.12.1"
},
"dependencies": {
"minify": "^4.1.0",
"sanitize-html": "^1.20.0",
"turndown-plugin-gfm": "^1.0.2"
}
}