forked from CurriculumAssociates/canvas-latex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
108 lines (108 loc) · 3.23 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
{
"name": "@curriculumassociates/canvas-latex",
"version": "0.9.1",
"description": "Enabling quick math-typesetting rendering on the canvas",
"main": "dist/canvas-latex.js",
"engines": {
"npm": ">=6.9.0",
"node": ">=10.16.2"
},
"module": "src/index.js",
"directories": {
"test": "test"
},
"author": {
"name": "Curriculum Associates",
"email": "[email protected]"
},
"scripts": {
"lint": "standard",
"build:fonts": "lessc demo/katex-fonts/fonts.less demo/katex-fonts/fonts.css",
"copy-demo": "cpx \"demo/**/*\" dist",
"prestart": "npm run copy-demo",
"start": "webpack-dev-server --open --config webpack.dev.js",
"clean": "rm -rf node_modules/ dist/ && npm cache clean --force",
"prebuild": "npm run copy-demo",
"build": "webpack --config webpack.prod.js",
"preselenium:local": "npm run install-selenium && npm run folder-setup",
"selenium:local": "node selenium-local.js -c nightwatch.local.js -e firefox",
"preselenium:browserstack": "npm run folder-setup && npm run build && npm run serve && sleep 5s",
"selenium:browserstack": "node scripts/bs_runner.js -c nightwatch.browserstack.js -e chrome,firefox,edge,safari",
"postselenium:browserstack": "npm run kill-serve",
"selenium:local:update": "UPDATE_MODE=true npm run selenium:local",
"selenium:browserstack:update": "UPDATE_MODE=true npm run selenium:browserstack",
"install-selenium": "selenium-standalone install",
"jest": "jest",
"jest:update": "jest --updateSnapshot",
"jest:watch": "jest --watchAll",
"jest:coverage": "jest --coverage",
"postjest:coverage": "make-coverage-badge",
"folder-setup": "node scripts/folder-setup.js",
"serve": "(cd dist && python -m SimpleHTTPServer 8888) &",
"kill-serve": "kill -9 `ps -ef |grep SimpleHTTPServer |grep 8888 |awk '{print $2}'` & exit 0",
"precommit": "npm run lint",
"test": "jest"
},
"files": [
"README.md",
"src/",
"dist/",
"demo/fonts/"
],
"repository": {
"type": "git",
"url": "http://github.com/curriculumassociates/canvas-latex"
},
"standard": {
"globals": [
"describe",
"it",
"xit",
"createjs",
"before",
"beforeEach",
"jest",
"test",
"expect"
],
"ignore": [
"src/katex.min.js",
"demo/",
"dist/",
"test/unit/tests/__snapshots__/"
]
},
"keywords": [],
"license": "MIT",
"devDependencies": {
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.1",
"browserstack-local": "^1.3.0",
"colors": "^1.1.2",
"cpx": "^1.5.0",
"deepmerge": "^2.0.1",
"gm": "^1.23.0",
"jest": "^23.3.0",
"jest-canvas-mock": "^1.1.0",
"js-yaml": "^3.10.0",
"less": "^3.8.1",
"make-coverage-badge": "^1.0.1",
"mkdirp": "^1.0.4",
"nightwatch": "^0.9.19",
"node-resemble-js": "^0.2.0",
"ps-tree": "^1.2.0",
"rimraf": "^2.6.2",
"selenium-standalone": "^6.12.0",
"standard": "^10.0.3",
"uglifyjs-webpack-plugin": "^1.1.6",
"webpack": "^3.10.0",
"webpack-dev-server": "^2.9.7",
"webpack-merge": "^4.1.1",
"webpack-strip-block": "^0.2.0",
"yamljs": "^0.3.0"
},
"dependencies": {
"canvg-browser": "^1.0.0"
}
}