1 | {
|
2 | "name": "sideral",
|
3 | "version": "0.0.17",
|
4 | "description": "A game engine framework in JavaScript",
|
5 | "main": "./index.js",
|
6 | "types": "./src/index.ts",
|
7 | "scripts": {
|
8 | "start": "",
|
9 | "start:dev": "./node_modules/.bin/webpack-dev-server --config config/webpack.config.js --hot --progress --colors --profile",
|
10 | "build": "yarn install && yarn run build-src && yarn run build-webpack",
|
11 | "build-src": "rm -Rf ./index.js ./Tool ./SideralObject ./Graphic ./Module ./Interface ./Entity && ./node_modules/.bin/tsc",
|
12 | "build-webpack": "./node_modules/.bin/webpack -d --config config/webpack.config.js",
|
13 | "test": "node_modules/.bin/jest",
|
14 | "test:dev": "yarn test -- --updateSnapshot --watch",
|
15 | "eslint": "./node_modules/.bin/eslint src",
|
16 | "prepublish": "yarn build-src",
|
17 | "doc": "typedoc --out ./ts-doc --module amd --target ES6 --mode file --rootDir src --includes src/**/*"
|
18 | },
|
19 | "jest": {
|
20 | "collectCoverage": true,
|
21 | "coverageReporters": [
|
22 | "json",
|
23 | "html"
|
24 | ],
|
25 | "moduleFileExtensions": [
|
26 | "ts",
|
27 | "js"
|
28 | ],
|
29 | "coveragePathIgnorePatterns": [
|
30 | "/node_modules/"
|
31 | ],
|
32 | "moduleDirectories": [
|
33 | "node_modules"
|
34 | ],
|
35 | "transform": {
|
36 | "^.+\\.(ts|tsx)$": "<rootDir>/config/jest.preprocessor.js",
|
37 | "\\.(css|less)$": "<rootDir>/config/__mocks__/styleMock.js",
|
38 | "\\.(gif|ttf|eot|svg)$": "<rootDir>/config/__mocks__/fileMock.js"
|
39 | },
|
40 | "setupFiles": [
|
41 | "<rootDir>/config/jest.setup.js"
|
42 | ],
|
43 | "testMatch": [
|
44 | "**/tests/**/*.(ts|tsx|js)"
|
45 | ]
|
46 | },
|
47 | "repository": {
|
48 | "type": "git",
|
49 | "url": "git+https://github.com/js-republic/sideral.git"
|
50 | },
|
51 | "keywords": [
|
52 | "sideral",
|
53 | "game",
|
54 | "framework",
|
55 | "js",
|
56 | "javascript"
|
57 | ],
|
58 | "author": "JS-Republic",
|
59 | "license": "GPL-3.0",
|
60 | "babel": {
|
61 | "presets": [
|
62 | "es2015",
|
63 | "stage-2"
|
64 | ]
|
65 | },
|
66 | "bugs": {
|
67 | "url": "https://github.com/js-republic/sideral/issues"
|
68 | },
|
69 | "homepage": "https://github.com/js-republic/sideral#readme",
|
70 | "devDependencies": {
|
71 | "awesome-typescript-loader": "^3.1.3",
|
72 | "babel-cli": "^6.18.0",
|
73 | "babel-core": "^6.24.1",
|
74 | "babel-eslint": "^7.2.3",
|
75 | "babel-jest": "^20.0.3",
|
76 | "babel-loader": "^6.2.7",
|
77 | "babel-polyfill": "^6.16.0",
|
78 | "babel-preset-es2015": "^6.18.0",
|
79 | "babel-preset-stage-2": "^6.24.1",
|
80 | "canvas": "^1.6.5",
|
81 | "eslint": "^4.0.0",
|
82 | "jest": "^20.0.4",
|
83 | "jest-fetch-mock": "^1.1.1",
|
84 | "json-loader": "^0.5.4",
|
85 | "transform-loader": "^0.2.4",
|
86 | "typedoc": "^0.7.1",
|
87 | "typescript": "^2.3.2",
|
88 | "webpack": "^2.4.1",
|
89 | "webpack-dev-server": "^2.4.5"
|
90 | },
|
91 | "dependencies": {
|
92 | "@types/howler": "^2.0.2",
|
93 | "@types/p2": "^0.7.30",
|
94 | "@types/pixi.js": "^4.4.4",
|
95 | "@types/signals": "^0.0.17",
|
96 | "howler": "^2.0.4",
|
97 | "p2": "^0.7.1",
|
98 | "pixi-particles": "^2.1.5",
|
99 | "pixi.js": "^4.3.2",
|
100 | "signals": "^1.0.0"
|
101 | }
|
102 | }
|