forked from github/include-fragment-element
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
44 lines (44 loc) · 1.45 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
{
"name": "@github/include-fragment-element",
"version": "5.1.2",
"main": "dist/index-umd.js",
"module": "dist/index-es.js",
"types": "index.d.ts",
"license": "MIT",
"repository": "github/include-fragment-element",
"files": [
"dist",
"index.d.ts"
],
"scripts": {
"clean": "rm -rf dist",
"lint": "github-lint",
"prebuild": "npm run clean && npm run lint && mkdir dist",
"build": "npm run build-es && npm run build-umd",
"build-es": "babel include-fragment-element.js -o dist/index-es.js && cp include-fragment-element.js.flow dist/index-es.js.flow",
"build-umd": "BABEL_ENV=umd babel include-fragment-element.js -o dist/index-umd.js && cp include-fragment-element.js.flow dist/index-umd.js.flow",
"pretest": "npm run build",
"test": "karma start ./test/karma.config.js",
"prepublishOnly": "npm run build",
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'"
},
"devDependencies": {
"@babel/cli": "^7.6.2",
"@babel/core": "^7.6.2",
"@babel/plugin-transform-modules-umd": "^7.2.0",
"babel-preset-github": "^3.2.1",
"chai": "^4.2.0",
"eslint": "^6.5.1",
"eslint-plugin-github": "^3.1.3",
"karma": "^4.3.0",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-firefox-launcher": "^1.2.0",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.5",
"mocha": "^6.2.1"
},
"eslintIgnore": [
"dist/"
]
}