-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
97 lines (97 loc) · 2.71 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
{
"name": "wobble",
"version": "1.5.1",
"description": "Wobble is a tiny spring simulation library based on the equations of motion governing damped harmonic oscillators.",
"repository": "https://github.com/skevy/wobble",
"author": "Adam Miskiewicz <[email protected]>",
"license": "MIT",
"typescript:main": "src/index.ts",
"main": "./dist/module/index.js",
"module": "./dist/wobble.es.js",
"types": "./dist/module/index.d.ts",
"scripts": {
"dev": "concurrently \"yarn watch\" \"cd demos && yarn start\"",
"lint": "tslint -p . --format codeFrame",
"test": "tsc --noEmit && jest --coverage",
"posttest": "codecov -f coverage/*.json",
"clean": "rm -rf ./dist/",
"watch": "concurrently \"tsc -w\" \"yarn dist-es -w\"",
"build": "tsc",
"dist-es": "rollup -c --environment ROLLUP_CONFIG:es",
"dist-cjs": "rollup -c --environment ROLLUP_CONFIG:cjs",
"dist-browser": "rollup -c --environment ROLLUP_CONFIG:browser",
"dist": "yarn run clean && concurrently \"yarn build\" \"yarn dist-es\" \"yarn dist-cjs\" \"yarn dist-browser\"",
"prepublish": "yarn dist",
"precommit": "lint-staged"
},
"files": [
"src",
"dist"
],
"jest": {
"globals": {
"ts-jest": {
"useBabelrc": true
}
},
"setupFiles": [
"./jest/rAF.js"
],
"modulePathIgnorePatterns": [
"<rootDir>/build/",
"<rootDir>/dist/"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"mapCoverage": true,
"timers": "fake"
},
"lint-staged": {
"**/*.+(ts|tsx)": [
"tslint --format codeFrame"
]
},
"jest-junit": {
"outputDirectory": "CIRCLE_TEST_REPORTS/jest/",
"outputName": "./test-results.xml"
},
"devDependencies": {
"@types/jest": "^22.0.1",
"@types/lolex": "^2.1.1",
"codecov": "^3.0.0",
"concurrently": "^3.5.1",
"husky": "^0.14.3",
"jest": "^22.1.1",
"jest-junit": "^5.2.0",
"lint-staged": "^6.0.0",
"lolex": "^2.3.1",
"prettier": "^1.10.2",
"rimraf": "^2.6.2",
"rollup": "^0.54.0",
"rollup-plugin-node-resolve": "^3.0.2",
"rollup-plugin-typescript": "^0.8.1",
"rollup-plugin-typescript2": "^0.10.0",
"rollup-plugin-uglify": "^2.0.1",
"rollup-watch": "^4.3.1",
"temp-dir": "^1.0.0",
"ts-jest": "^22.0.1",
"tslint": "^5.9.1",
"tslint-config-prettier": "^1.6.0",
"tslint-eslint-rules": "^4.1.1",
"tslint-junit-formatter": "^5.1.0",
"tslint-plugin-prettier": "^1.3.0",
"tslint-react": "^3.4.0",
"typescript": "^2.6.2",
"uglify-es": "^3.3.7"
}
}