-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.json
68 lines (68 loc) · 2.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"name": "mathquill4quill",
"license": "Apache-2.0",
"scripts": {
"release": "release-it",
"start.reactjs": "npm --prefix=reactjs start",
"start.nextjs": "npm --prefix=nextjs start",
"start": "reload --port 8080 --browser --dir .",
"lint.js": "eslint --ext js \"*.js\"",
"lint.css": "stylelint \"*.css\"",
"lint.md": "markdownlint \"*.md\"",
"lint.prettier": "prettier --check \"*.js\"",
"lint": "run-s lint.js lint.css lint.md lint.prettier",
"demo.vanillajs": "shx cp index.{html,js,css} mathquill4quill.{js,css} demo",
"demo.reactjs": "npm --prefix=reactjs run build",
"demo.nextjs": "npm --prefix=nextjs run build",
"demo.vuejs": "npm --prefix=vuejs run build",
"postdemo.reactjs": "shx mv reactjs/build demo/reactjs",
"postdemo.nextjs": "shx mv nextjs/out demo/nextjs",
"postdemo.vuejs": "shx mv vuejs/dist demo/vuejs",
"predemo": "shx mkdir -p demo",
"demo": "run-s demo.vanillajs demo.reactjs demo.nextjs demo.vuejs",
"prebuild": "shx mkdir -p build",
"build.babel": "babel mathquill4quill.js > build/mathquill4quill.js",
"build.uglify": "uglifyjs --compress --mangle -- build/mathquill4quill.js > build/mathquill4quill.min.js",
"build.csso": "csso --input mathquill4quill.css --output build/mathquill4quill.min.css",
"build": "run-s build.babel build.uglify build.csso",
"postbuild": "shx rm build/mathquill4quill.js",
"test": "concurrently --kill-others --success first \"serve -n -l 8000\" \"nightwatch -e chrome tests\""
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"chromedriver": "^117.0.0",
"concurrently": "^4.1.1",
"csso-cli": "^3.0.0",
"eslint": "^7.11.0",
"eslint-config-next": "^11.1.2",
"eslint-plugin-react-app": "^6.2.2",
"markdownlint-cli": "^0.22.0",
"nightwatch": "^1.1.12",
"npm-run-all": "^4.1.5",
"prettier": "^1.18.2",
"release-it": "^12.4.3",
"reload": "^3.0.1",
"serve": "^11.0.2",
"shx": "^0.3.3",
"stylelint": "^13.2.0",
"stylelint-config-standard": "^20.0.0",
"uglify-js": "^3.6.0"
},
"repository": {
"type": "git",
"url": "https://github.com/c-w/mathquill4quill"
},
"version": "2.4.0",
"main": "mathquill4quill.js",
"files": [
"build/mathquill4quill.min.css",
"build/mathquill4quill.min.js",
"mathquill4quill.css",
"mathquill4quill.js"
],
"publishConfig": {
"access": "public"
}
}