forked from pixijs/examples
/
package.json
38 lines (38 loc) · 1.29 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
{
"name": "pixi-examples",
"version": "5.0.0",
"description": "The examples site for pixi",
"author": "Pixi Team",
"license": "MIT",
"homepage": "https://github.com/pixijs/examples#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/pixijs/examples.git"
},
"bugs": {
"url": "https://github.com/pixijs/examples/issues"
},
"scripts": {
"less": "lessc src/less/pixi-examples.less dest/css/pixi-examples.min.css --clean-css --source-map",
"js": "terser src/js/pixi-examples.js -c -m -o dest/js/pixi-examples.min.js --source-map",
"less-dev": "lessc src/less/pixi-examples.less dest/css/pixi-examples.min.css",
"js-dev": "terser src/js/pixi-examples.js -b -o dest/js/pixi-examples.min.js",
"build": "npm run lint && npm run less && npm run js",
"watch": "watch \"npm run less-dev && npm run js-dev\" src --wait 0.1 --interval 0.1",
"lint": "eslint {examples,src}/**/*.js --max-warnings 0",
"lintfix": "npm run lint -- --fix"
},
"pre-commit": [
"lint"
],
"devDependencies": {
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.20.1",
"less": "^3.11.1",
"less-plugin-clean-css": "^1.5.1",
"pre-commit": "^1.2.2",
"terser": "^4.6.3",
"watch": "^1.0.2"
}
}