-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2.98 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
{
"name": "lightmatrix",
"version": "1.1.0",
"description": "Lightweight JavaScript library for basic matrix computations.",
"main": "lib/index.js",
"module": "esm/index.js",
"jsnext:main": "esm/index.js",
"files": [
"dist",
"lib",
"esm",
"src"
],
"scripts": {
"prepare": "npm run clean && npm run build && npm test",
"lint": "eslint src test --ext .js",
"lint-fix": "eslint --fix src test --ext .js",
"coverage": "istanbul cover _mocha",
"test": "npm run lint && npm run coverage",
"clean": "rimraf lib dist esm coverage",
"build": "npm run build:commonjs && npm run build:dist && npm run build:es",
"build:watch": "echo 'build && watch the COMMONJS version of the package - for other version, run specific tasks' && npm run build:commonjs:watch",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"build:commonjs:watch": "npm run build:commonjs -- --watch",
"build:es": "cross-env babel src --out-dir esm --copy-dir",
"build:es:watch": "npm run build:es -- --watch",
"build:umd": "cross-env BABEL_ENV=es NODE_ENV=development rollup src/index.js --config --sourcemap --file dist/lightmatrix.js",
"build:umd:watch": "npm run build:umd -- --watch",
"build:umd:min": "cross-env BABEL_ENV=es NODE_ENV=production rollup src/index.js --config --file dist/lightmatrix.min.js",
"build:dist": "npm run build:umd && npm run build:umd:min"
},
"pre-commit": [
"build",
"test",
"clean",
"build:dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/gladchinda/light-matrix.git"
},
"bugs": {
"url": "https://github.com/gladchinda/light-matrix/issues",
"email": "[email protected]"
},
"keywords": [
"matrix",
"lightmatrix",
"compute",
"math",
"inverse",
"adjoint",
"transpose",
"cofactors",
"determinant"
],
"author": "Glad Chinda <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/gladchinda/light-matrix/blob/master/README.md",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.2",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-env": "^1.6.1",
"chai": "^4.1.2",
"cross-env": "^5.1.4",
"eslint": "^4.19.1",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.11.0",
"istanbul": "^0.4.5",
"mocha": "^5.0.5",
"pre-commit": "^1.2.2",
"rimraf": "^2.6.2",
"rollup": "^0.57.1",
"rollup-plugin-babel": "^3.0.3",
"rollup-plugin-commonjs": "^9.1.0",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-uglify": "^3.0.0",
"rollup-watch": "^4.3.1"
}
}