-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
121 lines (121 loc) · 4.28 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "textae",
"description": "text annotation editor",
"version": "13.4.1",
"author": "jdkim",
"bugs": {
"url": "https://github.com/pubannotation/textae/issues"
},
"dependencies": {
"@codemirror/lang-javascript": "^6.2.2",
"@codemirror/language": "^6.10.3",
"@codemirror/legacy-modes": "^6.4.1",
"ajv": "^8.17.1",
"ajv-formats": "3.0.1",
"ajv-keywords": "^5.1.0",
"alertifyjs": "1.14.0",
"array-move": "4.0.0",
"codemirror": "^6.0.1",
"debounce": "2.1.1",
"delegate": "3.2.0",
"dohtml": "0.1.0",
"dropzone": "5.9.3",
"font-awesome": "4.7.0",
"jquery": "^3.7.1",
"jquery-ui": "^1.14.0",
"jsondiffpatch": "0.6.0",
"lodash.escape": "4.0.1",
"observ": "0.2.0",
"path-browserify": "1.0.1",
"sticky-js": "1.3.0",
"throttleit": "^2.1.0",
"uuid": "^10.0.0"
},
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.12.0",
"clean-css-cli": "^5.6.3",
"connect": "3.7.0",
"cpx2": "^8.0.0",
"eslint": "^9.12.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-unused-imports": "^4.1.4",
"globals": "^15.10.0",
"husky": "^9.1.6",
"less": "^4.2.0",
"less-watch-compiler": "1.16.3",
"lint-staged": "^15.2.10",
"mkdirp": "3.0.1",
"npm-run-all": "4.1.5",
"open-cli": "^8.0.0",
"prettier": "^3.3.3",
"replace-in-file": "^8.2.0",
"rimraf": "6.0.1",
"serve-favicon": "2.5.0",
"serve-static": "^1.16.2",
"source-map-loader": "^5.0.0",
"standard-version": "^9.5.0",
"terser-webpack-plugin": "^5.3.10",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4"
},
"homepage": "https://github.com/pubannotation/textae",
"keywords": [
"DBCLS",
"annotation",
"javascript"
],
"license": "MIT",
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write"
],
"*.json": [
"prettier --write"
],
"*.less": [
"prettier --write"
],
"userAcceptanceTest/**/*.md": [
"prettier --write"
]
},
"main": "src/development.html",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/pubannotation/textae.git"
},
"scripts": {
"dev:open": "open-cli 'http://localhost:3001/dev/development.html?annotation=%7B%22text%22%3A%22%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%82%8F%22%2C%22denotations%22%3A%5B%7B%22span%22%3A%7B%22begin%22%3A0%2C%22end%22%3A5%7D%2C%22obj%22%3A%22%E6%8C%A8%E6%8B%B6%22%7D%5D%7D'",
"dev:server": "node dev/development-sever.js",
"dev:watch": "webpack --config webpack.dev.js",
"dev:watch-less": "less-watch-compiler src/lib/css src/lib/css textae.less",
"dist": "npm-run-all dist:clean dist:build dist:copy dist:replace:version",
"dist:build": "npm-run-all -p dist:build:**",
"dist:build:css": "npm-run-all dist:less dist:cleancss",
"dist:build:js": "npm-run-all dist:lint dist:bundle",
"dist:bundle": "webpack --config webpack.prod.js",
"dist:clean": "rimraf dist/* tmp/$npm_package_name-*.js tmp/$npm_package_name-*.min.js tmp/css/textae-*.css",
"dist:cleancss": "cleancss -o tmp/css/$npm_package_name-$npm_package_version.min.css tmp/css/$npm_package_name-$npm_package_version.css",
"dist:copy": "npm-run-all -p dist:copy:**",
"dist:copy:app": "cpx src/app/editor.html dist",
"dist:copy:css": "cpx tmp/css/$npm_package_name-$npm_package_version'*'.css dist/lib/css",
"dist:copy:demo": "cpx 'src/demo/**' dist/demo",
"dist:copy:fonts": "cpx 'src/lib/fonts/**' dist/lib/fonts",
"dist:copy:images": "cpx 'src/lib/css/images/**.png' dist/lib/css/images",
"dist:copy:js": "cpx tmp/$npm_package_name-$npm_package_version'*'.js dist/lib",
"dist:less": "lessc 'src/lib/css/textae.less' tmp/css/$npm_package_name-$npm_package_version.css",
"dist:lint": "npx prettier --check 'src/lib/**/*.js' 'src/lib/css/*.less' && eslint src/lib",
"dist:replace:version": "replace-in-file /{{version}}/g $npm_package_version dist/editor.html,dist/demo/**/*.html --isRegex",
"postinstall": "husky && cpx -C 'node_modules/font-awesome/fonts/**' src/lib/fonts",
"release": "standard-version -a",
"watch": "npm-run-all -p dev:watch dev:watch-less dev:server dev:open"
},
"standard-version": {
"scripts": {
"postbump": "npm run dist && git add -A dist"
}
}
}