forked from timdown/rangy
-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
88 lines (88 loc) · 3.07 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"private": true,
"workspaces": [
"packages/*"
],
"name": "rangy2",
"description": "A cross-browser DOM range and selection library",
"author": {
"name": "Tim Down",
"email": "tim@timdown.co.uk",
"url": "http://timdown.co.uk/"
},
"contributors": [
{
"name": "Bui Viet Thanh",
"email": "thanhbv@sandinh.net",
"url": "https://github.com/ohze"
}
],
"keywords": [
"range",
"selection",
"caret",
"DOM"
],
"homepage": "https://github.com/ohze/rangy",
"bugs": {
"url": "https://github.com/ohze/rangy/issues"
},
"licenses": [
{
"type": "MIT",
"url": "http://www.opensource.org/licenses/mit-license.php"
}
],
"repository": {
"type": "git",
"url": "https://github.com/ohze/rangy.git"
},
"scripts": {
"postinstall": "echo 'https://github.com/qunitjs/qunit/issues/1389' && patch -i qunit.patch node_modules/qunit/qunit/qunit.js",
"tsc:scripts": "tsc -b scripts/tsconfig.json",
"watch:scripts": "tsc -b scripts/tsconfig.json --watch --pretty",
"clean": "node scripts/clean.js",
"tsc:es2018": "tsc -b",
"watch:tsc_es2018": "tsc -b --watch --pretty",
"tsc:es5": "lerna exec --no-private --stream --parallel -- ../../node_modules/.bin/tsc -p src/ --outDir lib/esm5 --target es5",
"watch:tsc_es5": "lerna exec --no-private --stream --parallel -- ../../node_modules/.bin/tsc -p src/ --outDir lib/esm5 --target es5 --watch --pretty",
"rollup:src": "rollup -c scripts/rollup.config.js",
"watch:rollup_src": "FORCE_COLOR=1 rollup -c scripts/rollup.config.js --watch",
"build:src": "npm-run-all tsc:es2018 tsc:es5 rollup:src",
"build:test": "rollup -c scripts/rollup.config.test.js",
"watch:test": "FORCE_COLOR=1 rollup -c scripts/rollup.config.test.js --watch",
"build": "run-s build:src build:test",
"prepublishOnly": "run-s tsc:scripts clean build",
"watch": "run-p -l watch:*",
"test": "echo 'pls browse test/*.html for testing'"
},
"main": "./bundles/index.umd.js",
"module": "./esm5/index.js",
"es2015": "./esm2015/index.js",
"typings": "./types/types.d.ts",
"dependencies": {
"core-js": "^3.0.1",
"tslib": "^1.9.3"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/qunit": "^2.5.4",
"bowser": "^2.3.0",
"delete-empty": "^2.0.0",
"glob": "^7.1.3",
"lerna": "^3.13.3",
"log4javascript": "^1.4.15",
"npm-run-all": "^4.1.5",
"promisify-child-process": "^3.1.0",
"qunit": "^2.9.2",
"requirejs": "^2.3.6",
"rollup": "^1.8.0",
"rollup-plugin-commonjs": "^9.3.4",
"rollup-plugin-node-resolve": "^4.0.1",
"rollup-plugin-re": "^1.0.7",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-terser": "^4.0.4",
"rollup-plugin-uglify": "^6.0.2",
"typescript": "^3.4.1"
}
}