forked from developit/snarkdown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 1.71 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
{
"name": "@datawrapper/snarkdown",
"description": "Transform Markdown into HTML.",
"version": "2.0.1",
"main": "./dist/snarkdown.js",
"module": "./dist/snarkdown.es.js",
"modern": "./dist/snarkdown.modern.js",
"umd:main": "./dist/snarkdown.umd.js",
"unpkg": "./dist/snarkdown.umd.js",
"types": "./snarkdown.d.ts",
"scripts": {
"build": "microbundle",
"dev": "microbundle watch",
"test": "eslint src test && NODE_ENV=test mocha --compilers @babel/register",
"prepublish": "npm run -s build",
"release": "npm run -s build && npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
},
"authors": [
"Jason Miller <[email protected]>"
],
"files": [
"src",
"dist",
"snarkdown.d.ts"
],
"homepage": "https://github.com/developit/snarkdown",
"repository": "developit/snarkdown",
"license": "MIT",
"keywords": [
"markdown",
"gfm",
"md",
"html",
"parser"
],
"devDependencies": {
"@babel/preset-env": "^7.11.5",
"@babel/register": "^7.11.5",
"chai": "^3.5.0",
"eslint": "^7.7.0",
"eslint-config-developit": "^1.2.0",
"microbundle": "^0.12.0",
"mocha": "^5.1.1",
"npm-merge-driver-install": "^1.1.1"
},
"eslintConfig": {
"extends": "developit",
"env": {
"browser": true,
"mocha": true,
"node": true,
"es6": true
},
"globals": {
"expect": true
},
"rules": {
"jest/valid-expect": 0,
"no-console": 1,
"no-cond-assign": 0,
"no-regex-spaces": 0
}
},
"babel": {
"env": {
"test": {
"presets": [
"@babel/preset-env"
]
}
}
}
}