-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
54 lines (54 loc) · 1.75 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
{
"name": "plain-tag",
"version": "0.1.3",
"description": "A noop/plain JS template literal tag",
"main": "./cjs/index.js",
"scripts": {
"build": "npm run cjs && npm run rollup:es && npm run rollup:babel && npm run min && npm run fix:default && npm run test",
"cjs": "ascjs --no-default esm cjs",
"rollup:es": "rollup --config rollup/es.config.js && sed -i.bck 's/^var /self./' es.js && rm -rf es.js.bck",
"rollup:babel": "rollup --config rollup/babel.config.js && sed -i.bck 's/^var /self./' index.js && rm -rf index.js.bck",
"min": "terser index.js --comments='/^!/' -c -m -o min.js",
"fix:default": "sed -i 's/({})/({}).default/' index.js && sed -i 's/({})/({}).default/' es.js && sed -i 's/({})/({}).default/' min.js",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"test": "nyc node test/index.js"
},
"keywords": [
"noop",
"template",
"literal",
"tag"
],
"author": "Andrea Giammarchi",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"ascjs": "^4.0.1",
"coveralls": "^3.1.0",
"nyc": "^15.1.0",
"rollup": "^2.18.2",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^6.1.0",
"terser": "^4.8.0"
},
"module": "./esm/index.js",
"type": "module",
"exports": {
".": {
"import": "./esm/index.js",
"default": "./cjs/index.js"
},
"./package.json": "./package.json"
},
"unpkg": "min.js",
"repository": {
"type": "git",
"url": "git+https://github.com/WebReflection/plain-tag.git"
},
"bugs": {
"url": "https://github.com/WebReflection/plain-tag/issues"
},
"homepage": "https://github.com/WebReflection/plain-tag#readme"
}