/
package.json
60 lines (60 loc) · 1.94 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
{
"name": "@cliqz/adblocker",
"version": "0.1.13",
"description": "Cliqz adblocker library",
"repository": {
"type": "git",
"url": "git@github.com:cliqz-oss/adblocker.git"
},
"author": "Cliqz",
"license": "MPL-2.0",
"main": "./adblocker.umd.js",
"module": "build/es6/index.js",
"scripts": {
"clean": "rm -rf build",
"lint": "tslint -c tslint.json 'src/**/*.ts'",
"build-es6": "tsc -p . --module ES6 --outDir 'build/es6'",
"build-cjs": "tsc -p . --module commonjs --outDir 'build/commonjs'",
"build": "npm run clean && mkdir build && concurrently 'npm run build-es6' 'npm run build-cjs'",
"bundle": "npm run clean && npm run build-es6 && rollup -c",
"watch": "tsc -p . --module commonjs --outDir 'build/commonjs' --watch",
"pretest": "npm run lint",
"test": "npm run clean && npm run build-cjs && jest --coverage build/commonjs/test/",
"dev": "npm run clean && npm run build-cjs && concurrently 'npm run watch' 'jest build/commonjs/test/ --watch'"
},
"jest": {
"testMatch": [
"**/test/**/*.test.js"
],
"testEnvironment": "node"
},
"devDependencies": {
"@types/chrome": "0.0.69",
"@types/es6-promise": "3.3.0",
"@types/jest": "23.3.0",
"@types/jsdom": "11.0.6",
"babel-eslint": "8.2.6",
"babel-plugin-external-helpers": "6.22.0",
"babel-preset-env": "1.7.0",
"babel-preset-es2015": "6.24.1",
"babel-register": "6.26.0",
"babelrc-rollup": "3.0.0",
"concurrently": "3.5.1",
"jest": "23.4.1",
"jsdom": "11.11.0",
"rollup": "0.63.4",
"rollup-plugin-babel": "3.0.7",
"rollup-plugin-commonjs": "9.1.3",
"rollup-plugin-json": "3.0.0",
"rollup-plugin-node-builtins": "2.1.2",
"rollup-plugin-node-globals": "1.2.1",
"rollup-plugin-node-resolve": "3.3.0",
"rollup-plugin-sourcemaps": "0.4.2",
"tslint": "5.11.0",
"typescript": "2.9.2"
},
"dependencies": {
"cross-fetch": "2.2.2",
"tldjs": "2.3.1"
}
}